Advisory

GHSA-f5x2-xv93-4p23

Also known as: CVE-2020-1911

Summary

Access of Resource Using Incompatible Type in Facebook Hermes

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-24 17:27 UTC
Modified
2023-11-08 04:02 UTC

Affected packages and fixes

hermes-engine

npm · All systems

Affected

  • introduced 0, fixed 0.5.2 (semver)

Fixed versions

0.5.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences