GHSA-mph8-6787-r8hw

Suggest an improvement
Source
https://github.com/advisories/GHSA-mph8-6787-r8hw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mph8-6787-r8hw/GHSA-mph8-6787-r8hw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mph8-6787-r8hw
Aliases
Published
2022-05-24T19:05:34Z
Modified
2023-11-08T04:05:14Z
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
Use After Free in Hermes
Details

A use after free in hermes, while emitting certain error messages, prior to commit d86e185e485b6330216dee8e854455c694e3a36e 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.

Database specific
{
    "cwe_ids": [
        "CWE-416"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-22T18:20:01Z",
    "nvd_published_at": "2021-06-15T22:15:00Z",
    "severity": "CRITICAL"
}
References

Affected packages

npm / hermes-engine

Package

Name
hermes-engine
View open source insights on deps.dev
Purl
pkg:npm/hermes-engine

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.8.0

Database specific

last_known_affected_version_range
"<= 0.7.2"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mph8-6787-r8hw/GHSA-mph8-6787-r8hw.json"