{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-24044","id":"CVE-2021-24044","title":"Access of Resource Using Incompatible Type in Hermes","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.","descriptionLong":"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.","published":"2022-01-15T00:35:08.000Z","updated":"2026-11-01T07:28:43.901406452Z","reserved":"2021-01-13T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"facebook","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":["Facebook Hermes"],"affectedProducts":[{"vendor":"Facebook","product":"Hermes","defaultStatus":null,"versions":[{"lessThan":"unspecified","status":"unaffected","version":"0.10.0","versionType":"custom"},{"lessThan":"0.10.0","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"hermes-engine","purl":"pkg:npm/hermes-engine","ranges":["<0.10.0"],"fixed":["0.10.0"],"advisory":"GHSA-7mhc-prgv-r3q4"}],"cwes":["CWE-843"],"aliases":["GHSA-7mhc-prgv-r3q4"],"references":[{"url":"https://www.facebook.com/security/advisories/cve-2021-24044","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24044","tags":["advisory"]},{"url":"https://github.com/facebook/hermes","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01266,"epssPercentile":0.70372,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-24044","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24044","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-24044","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7mhc-prgv-r3q4","ok":true,"note":"GHSA-7mhc-prgv-r3q4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-24044","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}