CVE-2021-24044
Access of Resource Using Incompatible Type in Hermes
9.8
CRITICAL
CVSS 3.1
EPSS 0.50%
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.
How to fix CVE-2021-24044
To remediate CVE-2021-24044, upgrade the affected package to a fixed version below.
- —upgrade to 0.10.0 or later
Is CVE-2021-24044 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 0.10.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |