Lucene search

K
cve[email protected]CVE-2021-24025
HistoryMar 10, 2021 - 4:15 p.m.

CVE-2021-24025

2021-03-1016:15:16
CWE-190
CWE-122
web.nvd.nist.gov
23
2
cve-2021-24025
integer overflow
preg_quote function
security vulnerability
heap overflow
hhvm
nvd

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.5 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

61.9%

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.

Affected configurations

NVD
Node
facebookhhvmRange<4.56.3
OR
facebookhhvmRange4.57.04.80.1
OR
facebookhhvmRange4.81.04.93.1
OR
facebookhhvmMatch4.94.0
OR
facebookhhvmMatch4.95.0
OR
facebookhhvmMatch4.96.0
OR
facebookhhvmMatch4.97.0
OR
facebookhhvmMatch4.98.0

CNA Affected

[
  {
    "product": "HHVM",
    "vendor": "Facebook",
    "versions": [
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.98.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.98.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.97.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.97.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.96.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.96.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.95.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.95.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.94.1",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "4.94.0"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.93.2",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "affected",
        "version": "4.81.0",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.80.2",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "affected",
        "version": "4.57.0",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "unaffected",
        "version": "4.56.3",
        "versionType": "custom"
      },
      {
        "lessThan": "4.56.3",
        "status": "affected",
        "version": "unspecified",
        "versionType": "custom"
      }
    ]
  }
]

Social References

More

7.5 High

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

9.5 High

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

61.9%

Related for CVE-2021-24025