CVE-2021-24044

State
Published
Severity
Not scored
Published
Jan 15, 2022
Updated
Aug 3, 2024
Reserved
Jan 13, 2021

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')

Affected Products

ProductVersions
HermesFacebook
  • 0.10.0 to before unspecifiedNot affected
  • before 0.10.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.