logo

CVE-2021-24037 hermes-engine

Package

Manager: npm
Name: hermes-engine
Vulnerable Version: >=0 <0.8.0

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00535 pctl0.66479

Details

Use After Free in Hermes 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.

Metadata

Created: 2022-05-24T19:05:34Z
Modified: 2022-06-22T18:20:01Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mph8-6787-r8hw/GHSA-mph8-6787-r8hw.json
CWE IDs: ["CWE-416"]
Alternative ID: GHSA-mph8-6787-r8hw
Finding: F138
Auto approve: 1