CVE-2020-1899 Deserialization in HHVM

High 7.5 Published Updated

An attacker can exploit a deserialization flaw in HHVM to access arbitrary memory addresses, potentially leading to code execution or data disclosure.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-1899?

CVE-2020-1899 is a high-severity unsafe deserialization vulnerability in Facebook HHVM, published on 11 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The unserialize() function supported a type code, "S", which was meant to be supported only for APC serialization. This type code allowed arbitrary memory addresses to be accessed as if they were static StringData objects. This issue affected HHVM prior to v4.32.3, between versions 4.33.0 and 4.56.0, 4.57.0, 4.58.0, 4.58.1, 4.59.0, 4.60.0, 4.61.0, 4.62.0.

Weakness: CWE-119, CWE-822

Which versions are affected by CVE-2020-1899?

It affects 1 product.

Products include Facebook Hhvm.

How do I fix CVE-2020-1899?

No fix has been published for CVE-2020-1899 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2020-1899 being exploited?

There is no known exploitation of CVE-2020-1899 in the wild and no public exploit code.

Sources

Also known as GHSA-hqh4-hp5h-w6qj, UBUNTU-CVE-2020-1899.

Is CVE-2020-1899 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free