CVE-2021-24044 – hermes-engine
Package
Manager: npm
Name: hermes-engine
Vulnerable Version: >=0 <0.10.0
Severity
Level: Critical
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS: 0.00504 pctl0.65128
Details
Access of Resource Using Incompatible Type in Hermes 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.
Metadata
Created: 2022-01-16T00:00:45Z
Modified: 2022-06-22T18:19:44Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-7mhc-prgv-r3q4/GHSA-7mhc-prgv-r3q4.json
CWE IDs: ["CWE-843"]
Alternative ID: GHSA-7mhc-prgv-r3q4
Finding: F113
Auto approve: 1