Skip to content

CVE-2020-1911 Access of Resource Using Incompatible Type in Facebook Hermes

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

Description

A type confusion vulnerability when resolving properties of JavaScript objects with specially-crafted prototype chains in Facebook Hermes prior to commit fe52854cdf6725c2eaa9e125995da76e6ceb27da allows attackers to potentially 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 < 0.4.3; = commit prior to fe52854cdf6725c2eaa9e125995da76e6ceb27da 0.4.3 Fixed
npm hermes-engine(npm) < 0.5.2; <= 0.4.3 0.5.2 Fixed

Affected products

ProductAffected versionsFixed in
npm hermes-engine(npm) <= 0.4.3 No fix listed
facebook Hermes < 0.4.3 0.4.3
facebook Hermes = commit prior to fe52854cdf6725c2eaa9e125995da76e6ceb27da No fix listed
npm hermes-engine(npm) < 0.5.2 0.5.2

References