Advisory

GHSA-pf27-929j-9pmm

Also known as: CVE-2020-1912

Summary

Out-of-bounds Read and Out-of-bounds Write in Facebook Hermes

Details

An out-of-bounds read/write vulnerability when executing lazily compiled inner generator functions in Facebook Hermes prior to commit 091835377369c8fd5917d9b87acffa721ad2a168 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

High Basis: The source's own band: HIGH

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