CVE-2019-3556

State
Published
Severity
Not scored
Published
Oct 26, 2021
Updated
Aug 4, 2024
Reserved
Jan 2, 2019

Read the record on cve.org

Description

HHVM supports the use of an "admin" server which accepts administrative requests over HTTP. One of those request handlers, dump-pcre-cache, can be used to output cached regular expressions from the current execution context into a file. The handler takes a parameter which specifies where on the filesystem to write this data. The parameter is not validated, allowing a malicious user to overwrite arbitrary files where the user running HHVM has write access. This issue affects HHVM versions prior to 4.56.2, all versions between 4.57.0 and 4.78.0, as well as 4.79.0, 4.80.0, 4.81.0, 4.82.0, and 4.83.0.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory (CWE-22)

Affected Products

ProductVersions
HHVMFacebook
  • 4.83.1 to before unspecifiedNot affected
  • 4.83.0 to before unspecifiedAffected
  • 4.82.1 to before unspecifiedNot affected
  • 4.82.0 to before unspecifiedAffected
  • 4.81.1 to before unspecifiedNot affected
  • 4.81.0 to before unspecifiedAffected
  • 4.80.1 to before unspecifiedNot affected
  • 4.80.0 to before unspecifiedAffected
  • 4.79.1 to before unspecifiedNot affected
  • 4.79.0 to before unspecifiedAffected
  • 4.78.1 to before unspecifiedNot affected
  • 4.57.0 to before unspecifiedAffected
  • 4.56.2 to before unspecifiedNot affected
  • before 4.56.2Affected

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.