CVE-2019-3556

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.79.0:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.80.0:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.81.0:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.82.0:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.83.0:*:*:*:*:*:*:*

History

29 Oct 2021, 16:38

Type Values Removed Values Added
CPE cpe:2.3:a:facebook:hhvm:4.79.0:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.80.0:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.83.0:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.81.0:*:*:*:*:*:*:*
cpe:2.3:a:facebook:hhvm:4.82.0:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 5.5
v3 : 8.1
CWE CWE-22
References (CONFIRM) https://www.facebook.com/security/advisories/cve-2019-3556 - (CONFIRM) https://www.facebook.com/security/advisories/cve-2019-3556 - Broken Link
References (CONFIRM) https://github.com/facebook/hhvm/commit/abe0b29e4d3a610f9bc920b8be4ad8403364c2d4 - (CONFIRM) https://github.com/facebook/hhvm/commit/abe0b29e4d3a610f9bc920b8be4ad8403364c2d4 - Patch, Third Party Advisory
References (CONFIRM) https://hhvm.com/blog/2020/11/12/security-update.html - (CONFIRM) https://hhvm.com/blog/2020/11/12/security-update.html - Vendor Advisory

26 Oct 2021, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-10-26 20:15

Updated : 2023-12-10 14:09


NVD link : CVE-2019-3556

Mitre link : CVE-2019-3556

CVE.ORG link : CVE-2019-3556


JSON object : View

Products Affected

facebook

  • hhvm
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')