Advisory

GHSA-327c-qx3v-h673

Also known as: CVE-2020-1914

Summary

Always-Incorrect Control Flow Implementation in Facebook Hermes

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

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

Affected packages and fixes

hermes-engine

npm · All systems

Affected

  • introduced 0, fixed 0.7.2 (semver)

Fixed versions

0.7.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