Advisory

GHSA-mph8-6787-r8hw

Also known as: CVE-2021-24037

Summary

Use After Free in Hermes

Details

A use after free in hermes, while emitting certain error messages, prior to commit d86e185e485b6330216dee8e854455c694e3a36e 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 19:05 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

hermes-engine

npm · All systems

Affected

  • introduced 0, fixed 0.8.0 (semver)

Fixed versions

0.8.0

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