GHSA-7mhc-prgv-r3q4
Dashboard / Vulnerabilities / GHSA-7mhc-prgv-r3q4
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.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-24044, https://github.com/facebook/hermes, https://www.facebook.com/security/advisories/cve-2021-24044
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
