CVE-2022-32234

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-32234
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32234.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-32234
Published
2022-10-11T01:15:08Z
Modified
2025-10-21T07:07:03.244460Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

An out of bounds write in hermes, while handling large arrays, prior to commit 06eaec767e376bfdb883d912cb15e987ddf2bda1 allows attackers to potentially execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.

References

Affected packages

Git / github.com/facebook/hermes

Affected ranges

Type
GIT
Repo
https://github.com/facebook/hermes
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

hermes-2022-04-28-RNv0.*

hermes-2022-04-28-RNv0.69.0-15d07c2edd29a4ea0b8f15ab0588a0c1adb1200f

v0.*

v0.1.0
v0.1.1
v0.10.0
v0.11.0
v0.2.1
v0.3.0
v0.4.0
v0.5.0
v0.6.0
v0.7.0
v0.8.0
v0.9.0

Database specific

vanir_signatures

[
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "253189510533086805087783480300989181997",
            "length": 522.0
        },
        "target": {
            "file": "external/llvh/lib/Support/SmallVector.cpp",
            "function": "SmallVectorBase::grow_pod"
        },
        "source": "https://github.com/facebook/hermes/commit/06eaec767e376bfdb883d912cb15e987ddf2bda1",
        "id": "CVE-2022-32234-9597e76a",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Function",
        "digest": {
            "function_hash": "48123351170391304353321702620001144785",
            "length": 581.0
        },
        "target": {
            "file": "external/llvh/include/llvh/ADT/SmallVector.h",
            "function": "grow"
        },
        "source": "https://github.com/facebook/hermes/commit/06eaec767e376bfdb883d912cb15e987ddf2bda1",
        "id": "CVE-2022-32234-abe6703f",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "192843654680290664668689812012615394418",
                "128708908882130193250636643319471079976",
                "46035457216074894185967552258866082545",
                "296687577260170667837862499962458531899",
                "281071268308224590619057480106192462470",
                "61942069343023427340103315716237887113",
                "113945020252159984935031683854396799232",
                "332736716430080952626776564668483913516"
            ]
        },
        "target": {
            "file": "external/llvh/lib/Support/SmallVector.cpp"
        },
        "source": "https://github.com/facebook/hermes/commit/06eaec767e376bfdb883d912cb15e987ddf2bda1",
        "id": "CVE-2022-32234-bdc2cc93",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "152218726929742603056274588617079760462",
                "273543411923646877829988890171938985669",
                "306552367279952607915074168194677652365",
                "147905964317093621609574812653590542205",
                "144486398886999229798266066265911416691",
                "142532597581357533135503929773762349263",
                "167179976335230148264290389137457076872"
            ]
        },
        "target": {
            "file": "external/llvh/include/llvh/ADT/SmallVector.h"
        },
        "source": "https://github.com/facebook/hermes/commit/06eaec767e376bfdb883d912cb15e987ddf2bda1",
        "id": "CVE-2022-32234-db4a561a",
        "deprecated": false,
        "signature_version": "v1"
    }
]