CVE-2021-24044

CRITICAL9.8EPSS 0.50%

Access of Resource Using Incompatible Type in Hermes

Published: 1/16/2022Modified: 11/8/2023
Also known as:GHSA-7mhc-prgv-r3q4

Description

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 (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1CRITICAL9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References (3)