VDB
Sign up
CRITICAL9.8

GHSA-mph8-6787-r8hw

Use After Free in Hermes

Quick fix

GHSA-mph8-6787-r8hw — hermes-engine: upgrade to the fixed version with the command below.

npm install hermes-engine@0.8.0

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/hermes-engine
Introduced in: 0Fixed in: 0.8.0
Fixnpm install hermes-engine@0.8.0

References