Lucene search

K
cveFacebookCVE-2022-40138
HistoryOct 11, 2022 - 2:15 a.m.

CVE-2022-40138

2022-10-1102:15:08
CWE-681
facebook
web.nvd.nist.gov
33
8
cve-2022-40138
hermes
bytecode
integer conversion error
out-of-bounds operations
arbitrary code execution
nvd

CVSS3

9.8

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

AI Score

9.8

Confidence

High

EPSS

0.003

Percentile

69.9%

An integer conversion error in Hermes bytecode generation, prior to commit 6aa825e480d48127b480b08d13adf70033237097, could have been used to perform Out-Of-Bounds operations and subsequently execute arbitrary code. Note that this is only exploitable in cases where Hermes is used to execute untrusted JavaScript. Hence, most React Native applications are not affected.

Affected configurations

Nvd
Node
facebookhermesRange<2022-09-27
VendorProductVersionCPE
facebookhermes*cpe:2.3:a:facebook:hermes:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "vendor": "Facebook",
    "product": "Hermes",
    "versions": [
      {
        "version": "unspecified",
        "lessThan": "commit prior to 6aa825e480d48127b480b08d13adf70033237097",
        "status": "affected",
        "versionType": "custom"
      }
    ]
  }
]

Social References

More

CVSS3

9.8

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

AI Score

9.8

Confidence

High

EPSS

0.003

Percentile

69.9%