{"id":"CVE-2020-1914","published":"2020-10-08T18:50:11Z","modified":"2024-08-04T06:53:59Z","title":"A logic vulnerability when handling the SaveGeneratorLong instruction in Facebook Hermes prior to commit…","vendor":"Meta","product":"Hermes","tier":"tail","description":{"text":"A logic vulnerability when handling the SaveGeneratorLong instruction in Facebook Hermes prior to commit b2021df620824627f5a8c96615edbd1eb7fdddfc allows attackers to potentially read out of bounds or theoretically execute arbitrary code via crafted JavaScript. Note that this is only exploitable if the application using Hermes permits evaluation of untrusted JavaScript. Hence, most React Native applications are not affected.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02515,"percentile":0.85196,"provenance":"source"},"cwes":[{"id":"CWE-670","name":"Always-Incorrect Control Flow Implementation"}],"references":[{"url":"https://www.facebook.com/security/advisories/cve-2020-1914","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/facebook/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":17.04}]},"vendorSlug":"meta","affectedVersions":[{"vendor":"Facebook","product":"Hermes","versions":["commit prior to b2021df620824627f5a8c96615edbd1eb7fdddfc"]}],"affected":[{"ecosystem":"npm","package":"hermes-engine","vulnerableRanges":["<0.7.2"],"patched":["0.7.2"],"from":["GHSA-327c-qx3v-h673"],"provenance":"source"}],"summary":{"text":"The flaw is a logic vulnerability in the handling of the SaveGeneratorLong instruction within Meta's Hermes JavaScript engine, in versions prior to commit b2021df620824627f5a8c96615edbd1eb7fdddfc. An attacker supplying crafted JavaScript can potentially read out of bounds or theoretically execute arbitrary code, but only if the application embedding Hermes permits evaluation of untrusted JavaScript, which most React Native applications do not.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:03Z"},"euvd":{"id":"EUVD-2022-2080","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-meta-hermes-cve-2020-1912","parents":[{"from":"CVE-2020-1913","to":"CVE-2020-1914","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/VM/Interpreter.cpp"],"commits":["https://github.com/facebook/hermes/commit/2c7af7ec481ceffd0d14ce2d7c045e475fd71dc6","https://github.com/facebook/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc"],"basis":"shared function","functions":["interpretFunction"]}]}],"children":[{"from":"CVE-2020-1914","to":"CVE-2022-40138","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/VM/Interpreter.cpp"],"commits":["https://github.com/facebook/hermes/commit/b2021df620824627f5a8c96615edbd1eb7fdddfc","https://github.com/facebook/hermes/commit/6aa825e480d48127b480b08d13adf70033237097"],"basis":"shared function","functions":["interpretFunction"]}]}]}}