Skip to content

CVE-2020-1914 Always-Incorrect Control Flow Implementation in Facebook Hermes

CriticalCVSS 9.8 EPSS 2.5%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
facebook Hermes < 2020-10-01; = commit prior to b2021df620824627f5a8c96615edbd1eb7fdddfc 2020-10-01 Fixed
npm hermes-engine(npm) < 0.7.2; <= 0.7.1 0.7.2 Fixed

Affected products

ProductAffected versionsFixed in
npm hermes-engine(npm) <= 0.7.1 No fix listed
facebook Hermes < 2020-10-01 2020-10-01
facebook Hermes = commit prior to b2021df620824627f5a8c96615edbd1eb7fdddfc No fix listed
npm hermes-engine(npm) < 0.7.2 0.7.2

References