Use After Free Vulnerability in Hermes Allows Arbitrary Code Execution via Crafted JavaScript

Use After Free Vulnerability in Hermes Allows Arbitrary Code Execution via Crafted JavaScript

CVE-2021-24037 · CRITICAL Severity

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

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.

Learn more about our Web Application Penetration Testing UK.