{"id":"CVE-2021-24045","aliases":["EUVD-2021-10961","GHSA-7493-f24p-jv53"],"status":"published","title":"A type confusion vulnerability could be triggered when resolving the \"typeof\" unary operator in...","description":"A type confusion vulnerability could be triggered when resolving the \"typeof\" unary operator in Facebook Hermes prior to v0.10.0. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.","severity":{"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","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01252,"percentile":0.69674,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-843"],"published":"2021-12-13T20:30:11Z","modified":"2026-11-01T19:19:47Z","products":[{"vendor":"facebook","product":"hermes"},{"vendor":"softwarepub","product":"hermes"}],"references":[{"url":"https://www.facebook.com/security/advisories/cve-2021-24045","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://github.com/facebook/hermes/commit/55e1b2343f4deb1a1b5726cfe1e23b2068217ff2","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24045"},{"url":"https://github.com/advisories/GHSA-7493-f24p-jv53"}],"sources":{"cve":[{"id":"CVE-2021-24045","description":"A type confusion vulnerability could be triggered when resolving the \"typeof\" unary operator in Facebook Hermes prior to v0.10.0. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.","status":"published","published":"2021-12-13T20:30:11Z","modified":"2024-08-03T19:21:17.287Z","cwes":["CWE-843"],"updated_at":"2026-11-02T14:33:05.000797Z"}],"euvd":[{"id":"EUVD-2021-10961","description":"A type confusion vulnerability could be triggered when resolving the \"typeof\" unary operator in Facebook Hermes prior to v0.10.0. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.","status":"published","published":"2021-12-13T20:30:11Z","modified":"2024-08-03T19:21:17Z","updated_at":"2026-11-03T03:24:59.661237Z"}],"ghsa":[{"id":"GHSA-7493-f24p-jv53","title":"A type confusion vulnerability could be triggered when resolving the \"typeof\" unary operator in...","description":"A type confusion vulnerability could be triggered when resolving the \"typeof\" unary operator in Facebook Hermes prior to v0.10.0. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.","status":"published","published":"2021-12-14T00:00:31Z","modified":"2023-02-01T05:07:01Z","cwes":["CWE-843"],"updated_at":"2026-11-02T14:50:27.906349Z"}],"nvd":[{"id":"CVE-2021-24045","description":"A type confusion vulnerability could be triggered when resolving the \"typeof\" unary operator in Facebook Hermes prior to v0.10.0. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.","status":"published","published":"2021-12-13T21:15:08.923Z","modified":"2026-06-17T03:39:12.893Z","cvss":[{"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","level":"critical","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-843"],"updated_at":"2026-11-02T14:07:02.189991Z"}],"osv":[{"id":"CVE-2021-24045","description":"A type confusion vulnerability could be triggered when resolving the \"typeof\" unary operator in Facebook Hermes prior to v0.10.0. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.","status":"published","published":"2021-12-13T21:15:08.923Z","modified":"2026-11-01T19:19:47.311346605Z","cvss":[{"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","level":"critical"}],"updated_at":"2026-11-02T15:44:18.778776Z"}]}}
