{"id":"CVE-2021-24044","published":"2022-01-15T00:35:08Z","modified":"2024-08-03T19:21:17Z","title":"By passing invalid javascript code where await and yield were called upon non-async and non-generator getter/setter…","vendor":"Meta","product":"Hermes","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01266,"percentile":0.70462,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://www.facebook.com/security/advisories/cve-2021-24044","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":14.09}]},"vendorSlug":"meta","affectedVersions":[{"vendor":"Facebook","product":"Hermes","versions":[">= unspecified, < 0.10.0"]}],"affected":[{"ecosystem":"npm","package":"hermes-engine","vulnerableRanges":["<0.10.0"],"patched":["0.10.0"],"from":["GHSA-7mhc-prgv-r3q4"],"provenance":"source"}],"summary":{"text":"Meta's Hermes JavaScript engine contains a flaw in how it handles invalid await and yield expressions placed inside non-async, non-generator getter and setter functions, resulting in a type confusion condition. An attacker who can supply crafted invalid JavaScript code to Hermes can trigger a segmentation fault, with a low chance of remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:23Z"},"euvd":{"id":"EUVD-2022-0501","exploited":false,"provenance":"source"}}