Skip to content
OpenAdvisories
Unscored CVE-2019-3556 EUVD-2019-13193GHSA-36h6-q98c-7j6j

HHVM supports the use of an "admin" server which accepts administrative requests over HTTP. One of those request handlers, dump-pcre-cache,…

Published Oct 26, 2021 · Updated Aug 4, 2024 · Assigned by facebook

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.

Affected products

VendorProductAffectedFixed
Facebook HHVM 4.83.0 – < unspecified, 4.82.0 – < unspecified, 4.81.0 – < unspecified, 4.80.0 – < unspecified, 4.79.0 – < unspecified, 4.57.0 – < unspecified, unspecified – < 4.56.2 unspecified

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS hhvm No fix yet —
Ubuntu 16.04 LTS hhvm No fix yet —

References