CVE-2019-3570

State
Published
Severity
Not scored
Published
Jul 18, 2019
Updated
Aug 4, 2024
Reserved
Jan 2, 2019

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-122 Heap-based Buffer Overflow (CWE-122)

Affected Products

ProductVersions
HHVMFacebook
  • 4.8.1Affected
  • 4.8.0Affected
  • 4.7.1Affected
  • 4.7.0Affected
  • 4.6.1Affected
  • 4.6.0Affected
  • 4.5.1Affected
  • 4.5.0Affected
  • 4.4.1Affected
  • 4.4.0Affected
  • 4.3.1Affected
  • 4.0.0 to before unspecifiedAffected
  • 3.30.6Affected
  • 3.30.5 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.