GHSA-7mhc-prgv-r3q4

    Dashboard / Vulnerabilities / GHSA-7mhc-prgv-r3q4

    GHSA-7mhc-prgv-r3q4

    Published: 16 Jan 2022Last Modified: 8 Nov 2023

    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.

    Affected packages

    Package

    Name: hermes-engine

    Purl: pkg:npm/hermes-engine

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.10.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-7mhc-prgv-r3q4 | CVE-DB