CVE-2020-1921
HHVM vulnerability analysis and mitigation

Overview

CVE-2020-1921 is a security vulnerability affecting HHVM (HipHop Virtual Machine) that involves an out-of-bounds write vulnerability in the crypt function. The vulnerability was discovered and disclosed in February 2021, affecting 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, and 4.98.0 (MITRE CVE, HHVM Blog).

Technical details

The vulnerability exists in the crypt function where an attempt is made to null terminate a buffer using the size of the input salt without validating that the offset is within the buffer. This can lead to an out-of-bounds write condition of 1 byte (MITRE CVE, HHVM Blog).

Impact

The vulnerability could potentially allow an attacker to write outside the bounds of an allocated buffer, which could lead to memory corruption. This type of vulnerability can potentially be exploited to crash the application or execute arbitrary code (HHVM Blog).

Exploitability

While specific details about exploitation in the wild are not publicly available, the vulnerability requires the ability to control input to the crypt function to trigger the out-of-bounds write condition (MITRE CVE).

Mitigation and workarounds

The vulnerability has been patched in HHVM versions 4.56.3, 4.80.2, 4.93.2, 4.94.1, 4.95.1, 4.96.1, 4.97.1, and 4.98.1. Users are advised to upgrade to one of these patched versions to protect against this vulnerability (HHVM Blog).

Additional resources


SourceThis report was generated using AI

Related HHVM vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2022-36937CRITICAL9.8
  • HHVM logoHHVM
  • hhvm
NoYesMay 10, 2023
CVE-2021-24036CRITICAL9.8
  • NixOS logoNixOS
  • folly
NoYesJul 23, 2021
CVE-2020-1900CRITICAL9.8
  • HHVM logoHHVM
  • hhvm
NoYesMar 11, 2021
CVE-2019-3556HIGH8.1
  • HHVM logoHHVM
  • cpe:2.3:a:facebook:hhvm
NoYesOct 26, 2021
CVE-2020-1899HIGH7.5
  • HHVM logoHHVM
  • hhvm
NoYesMar 11, 2021

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management