GHSA-f5x2-xv93-4p23

Suggest an improvement
Source
https://github.com/advisories/GHSA-f5x2-xv93-4p23
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-f5x2-xv93-4p23/GHSA-f5x2-xv93-4p23.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f5x2-xv93-4p23
Aliases
Published
2022-05-24T17:27:24Z
Modified
2023-11-08T04:02:45.072039Z
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
Access of Resource Using Incompatible Type in Facebook Hermes
Details

A type confusion vulnerability when resolving properties of JavaScript objects with specially-crafted prototype chains in Facebook Hermes prior to commit fe52854cdf6725c2eaa9e125995da76e6ceb27da 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
{
    "nvd_published_at": "2020-09-04T03:15:00Z",
    "severity": "CRITICAL",
    "github_reviewed_at": "2022-06-24T01:24:06Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-843"
    ]
}
References

Affected packages

npm / hermes-engine

Package

Affected ranges

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

Database specific

{
    "last_known_affected_version_range": "<= 0.4.3"
}