CVE-2020-1917 Memory corruption in HHVM

Critical 9.8 Published Updated

An out-of-bounds write in HHVM's EXIF data processing allows attackers to potentially execute arbitrary code or cause a denial of service.

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-1917?

CVE-2020-1917 is a critical memory corruption vulnerability in Facebook HHVM, published on 10 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

xbuf_format_converter, used as part of exif_read_data, was appending a terminating null character to the generated string, but was not using its standard append char function. As a result, if the buffer was full, it would result in an out-of-bounds write. This issue affects HHVM versions prior to 4.56.3, all versions between 4.57.0 and 4.80.1, all versions between 4.81.0 and 4.93.1, and versions 4.94.0, 4.95.0, 4.96.0, 4.97.0, 4.98.0.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2020-1917?

It affects 1 product.

Products include Facebook Hhvm.

How do I fix CVE-2020-1917?

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

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-1917 being exploited?

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

Sources

Also known as GHSA-gf82-22g8-prc5, UBUNTU-CVE-2020-1917.

Is CVE-2020-1917 in your software?

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

Check your SBOMs for free