GHSA-7mhc-prgv-r3q4

Suggest an improvement
Source
https://github.com/advisories/GHSA-7mhc-prgv-r3q4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-7mhc-prgv-r3q4/GHSA-7mhc-prgv-r3q4.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-7mhc-prgv-r3q4
Aliases
Published
2022-01-16T00:00:45Z
Modified
2023-11-01T04:54:44.547848Z
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 Hermes
Details

By passing invalid javascript code where await and yield were called upon non-async and non-generator getter/setter functions, Hermes would invoke generator functions and error out on invalid await/yield positions. This could result in segmentation fault as a consequence of type confusion error, with a low chance of RCE. This issue affects Hermes versions prior to v0.10.0.

Database specific
{
    "github_reviewed": true,
    "severity": "CRITICAL",
    "nvd_published_at": "2022-01-15T01:15:00Z",
    "cwe_ids": [
        "CWE-843"
    ],
    "github_reviewed_at": "2022-06-22T18:19:44Z"
}
References

Affected packages

npm / hermes-engine

Package

Affected ranges

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

Database specific

{
    "last_known_affected_version_range": "<= 0.9.0"
}