CVE-2021-24025

CVSS V2 High 7.5 CVSS V3 Critical 9.8
Description
Due to incorrect string size calculations inside the preg_quote function, a large input string passed to the function can trigger an integer overflow leading to a heap overflow. 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.
Overview
  • CVE ID
  • CVE-2021-24025
  • Assigner
  • cve-assign@fb.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-03-10T16:15:16
  • Last Modified Date
  • 2021-03-16T12:45:19
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:* 1 OR 4.56.3
cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:* 1 OR 4.57.0 4.80.1
cpe:2.3:a:facebook:hhvm:*:*:*:*:*:*:*:* 1 OR 4.81.0 4.93.1
cpe:2.3:a:facebook:hhvm:4.94.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:facebook:hhvm:4.95.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:facebook:hhvm:4.96.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:facebook:hhvm:4.97.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:facebook:hhvm:4.98.0:*:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 7.5
  • Severity
  • HIGH
  • Exploitability Score
  • 10
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 9.8
  • Base Severity
  • CRITICAL
  • Exploitability Score
  • 3.9
  • Impact Score
  • 5.9
References
Reference URL Reference Tags
https://github.com/facebook/hhvm/commit/08193b7f0cd3910256e00d599f0f3eb2519c44ca Patch Third Party Advisory
https://hhvm.com/blog/2021/02/25/security-update.html Release Notes Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 07:19:47 Added to TrackCVE
2022-12-05 23:27:35 2021-03-10T16:15Z 2021-03-10T16:15:16 CVE Published Date updated
2022-12-05 23:27:35 2021-03-16T12:45:19 CVE Modified Date updated
2022-12-05 23:27:35 Analyzed Vulnerability Status updated