9.8
CRITICAL
CVE-2019-3557
HHVM Bz2 and Php Output Stream ReadImpl Vulnerability
Description

The implementations of streams for bz2 and php://output improperly implemented their readImpl functions, returning -1 consistently. This behavior caused some stream functions, such as stream_get_line, to trigger an out-of-bounds read when operating on such malformed streams. The implementations were updated to return valid values consistently. This affects all supported versions of HHVM (3.30 and 3.27.4 and below).

INFO

Published Date :

Jan. 15, 2019, 10:29 p.m.

Last Modified :

Oct. 9, 2019, 11:49 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2019-3557 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Facebook hhvm
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2019-3557.

URL Resource
https://github.com/facebook/hhvm/commit/6e4dd9ec3f14b48170fc45dc9d13a3261765f994 Patch Third Party Advisory
https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2019-3557 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2019-3557 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CWE Facebook, Inc. CWE-125
  • Reanalysis by [email protected]

    Feb. 20, 2019

    Action Type Old Value New Value
    Changed Reference Type https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html Release Notes, Vendor Advisory https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html Vendor Advisory
  • Initial Analysis by [email protected]

    Feb. 01, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/facebook/hhvm/commit/6e4dd9ec3f14b48170fc45dc9d13a3261765f994 No Types Assigned https://github.com/facebook/hhvm/commit/6e4dd9ec3f14b48170fc45dc9d13a3261765f994 Patch, Third Party Advisory
    Changed Reference Type https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html No Types Assigned https://hhvm.com/blog/2019/01/14/hhvm-3.30.2.html Release Notes, Vendor Advisory
    Added CWE CWE-125
    Added CPE Configuration OR *cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:* versions up to (including) 3.27.4 *cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:* versions from (including) 3.28.0 up to (including) 3.30.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2019-3557 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2019-3557 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.24 }} 0.00%

score

0.60546

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability