CVE-2019-3556

HIGHCVSS 8.1/10EPSS 1.73%

Last modified

CVE-2019-3556 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 1.73% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.1/10

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

EPSS Probability
1.73%

74.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
FacebookHhvm< 4.56.2
FacebookHhvm>= 4.57.0, <= 4.78.0
FacebookHhvm4.79.0
FacebookHhvm4.80.0
FacebookHhvm4.81.0
FacebookHhvm4.82.0
FacebookHhvm4.83.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2019-3556?
CVE-2019-3556 has a CVSS score of 8.1/10 (HIGH severity). The EPSS model estimates a 1.73% probability of exploitation in the next 30 days.
How do I fix CVE-2019-3556?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-3556?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST