Vulnerability DatabaseCVE-2016-1000005

CVE-2016-1000005
HHVM vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2016-1000005) affects HHVM's mcrypt_get_block_size function, which failed to properly validate the 'module' parameter type. This issue impacts HHVM versions prior to 3.9.5, versions between 3.10.0 and 3.12.3 (inclusive), and versions between 3.13.0 and 3.14.1 (inclusive) (NVD).

Technical details

The vulnerability stems from a type confusion issue in the mcrypt_get_block_size function, where the function did not enforce string type validation for the 'module' parameter. The severity of this vulnerability is rated as CRITICAL with a CVSS v3.1 base score of 9.8 (Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The issue is classified as CWE-843: Access of Resource Using Incompatible Type ('Type Confusion') (NVD).

Impact

The vulnerability could potentially lead to type confusion, which might result in high impacts on confidentiality, integrity, and availability of the affected systems. The CVSS scoring indicates potential for complete compromise of system confidentiality, integrity, and availability (NVD).

Mitigation and workarounds

A patch has been released to fix the parameter types for mcrypt_get_block_size() to match PHP's implementation. Users should upgrade to HHVM version 3.9.5 or later, or if running versions 3.10.0 through 3.14.1, upgrade to versions after 3.12.3 or 3.14.1 respectively (HHVM Patch).

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
  • HHVMHHVM
  • cpe:2.3:a:facebook:hhvm
NoYesMay 10, 2023
CVE-2021-24036CRITICAL9.8
  • NixOSNixOS
  • folly
NoYesJul 23, 2021
CVE-2020-1900CRITICAL9.8
  • HHVMHHVM
  • cpe:2.3:a:facebook:hhvm
NoYesMar 11, 2021
CVE-2019-3556HIGH8.1
  • HHVMHHVM
  • cpe:2.3:a:facebook:hhvm
NoYesOct 26, 2021
CVE-2020-1899HIGH7.5
  • HHVMHHVM
  • cpe:2.3:a:facebook: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