CVE-2020-1911
Access of Resource Using Incompatible Type in Facebook Hermes
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | hermes-engine | 0.5.2 |