ADVISORIES

GitHub Advisory Database

GHSA-f5x2-xv93-4p23

Access of Resource Using Incompatible Type in Facebook Hermes

Critical CVE-2020-1911

Details

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.

Affected packages

EcosystemPackageAffected versions
npmhermes-engine
All versions before 0.5.2 (fixed in 0.5.2)

References