// For flags

CVE-2019-3570

 

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

Call to the scrypt_enc() function in HHVM can lead to heap corruption by using specifically crafted parameters (N, r and p). This happens if the parameters are configurable by an attacker for instance by providing the output of scrypt_enc() in a context where Hack/PHP code would attempt to verify it by re-running scrypt_enc() with the same parameters. This could result in information disclosure, memory being overwriten or crashes of the HHVM process. This issue affects versions 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, versions 3.30.5 and below, and all versions in the 4.0, 4.1, and 4.2 series.

La llamada a la función scrypt_enc () en HHVM puede provocar daños en el montón mediante el uso de parámetros específicamente diseñados (N, r y p). Esto sucede si los parámetros son configurables por un atacante, por ejemplo, proporcionando la salida de scrypt_enc () en un contexto donde el código Hack / PHP intentaría verificarlo volviendo a ejecutar scrypt_enc () con los mismos parámetros. Esto podría dar lugar a la divulgación de información, la sobrescritura de memoria o el bloqueo del proceso HHVM. Este problema afecta a las versiones 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, versiones 3.30.5 y anteriores, y todas las versiones de las series 4.0, 4.1 y 4.2.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2019-01-02 CVE Reserved
  • 2019-07-18 CVE Published
  • 2023-03-08 EPSS Updated
  • 2024-08-04 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-122: Heap-based Buffer Overflow
  • CWE-787: Out-of-bounds Write
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Facebook
Search vendor "Facebook"
Hiphop Virtual Machine
Search vendor "Facebook" for product "Hiphop Virtual Machine"
<= 3.30.5
Search vendor "Facebook" for product "Hiphop Virtual Machine" and version " <= 3.30.5"
-
Affected
Facebook
Search vendor "Facebook"
Hiphop Virtual Machine
Search vendor "Facebook" for product "Hiphop Virtual Machine"
>= 4.0.0 <= 4.0.4
Search vendor "Facebook" for product "Hiphop Virtual Machine" and version " >= 4.0.0 <= 4.0.4"
-
Affected
Facebook
Search vendor "Facebook"
Hiphop Virtual Machine
Search vendor "Facebook" for product "Hiphop Virtual Machine"
4.1.0
Search vendor "Facebook" for product "Hiphop Virtual Machine" and version "4.1.0"
-
Affected
Facebook
Search vendor "Facebook"
Hiphop Virtual Machine
Search vendor "Facebook" for product "Hiphop Virtual Machine"
4.2.0
Search vendor "Facebook" for product "Hiphop Virtual Machine" and version "4.2.0"
-
Affected
Facebook
Search vendor "Facebook"
Hiphop Virtual Machine
Search vendor "Facebook" for product "Hiphop Virtual Machine"
4.3.0
Search vendor "Facebook" for product "Hiphop Virtual Machine" and version "4.3.0"
-
Affected
Facebook
Search vendor "Facebook"
Hiphop Virtual Machine
Search vendor "Facebook" for product "Hiphop Virtual Machine"
4.4.0
Search vendor "Facebook" for product "Hiphop Virtual Machine" and version "4.4.0"
-
Affected
Facebook
Search vendor "Facebook"
Hiphop Virtual Machine
Search vendor "Facebook" for product "Hiphop Virtual Machine"
4.5.0
Search vendor "Facebook" for product "Hiphop Virtual Machine" and version "4.5.0"
-
Affected
Facebook
Search vendor "Facebook"
Hiphop Virtual Machine
Search vendor "Facebook" for product "Hiphop Virtual Machine"
4.6.0
Search vendor "Facebook" for product "Hiphop Virtual Machine" and version "4.6.0"
-
Affected
Facebook
Search vendor "Facebook"
Hiphop Virtual Machine
Search vendor "Facebook" for product "Hiphop Virtual Machine"
4.7.0
Search vendor "Facebook" for product "Hiphop Virtual Machine" and version "4.7.0"
-
Affected
Facebook
Search vendor "Facebook"
Hiphop Virtual Machine
Search vendor "Facebook" for product "Hiphop Virtual Machine"
4.8.0
Search vendor "Facebook" for product "Hiphop Virtual Machine" and version "4.8.0"
-
Affected