VDB
Sign up
CRITICAL9.8

GHSA-f5x2-xv93-4p23

Access of Resource Using Incompatible Type in Facebook Hermes

Quick fix

GHSA-f5x2-xv93-4p23 — hermes-engine: upgrade to the fixed version with the command below.

npm install hermes-engine@0.5.2

Details

A type confusion vulnerability when resolving properties of JavaScript objects with specially-crafted prototype chains in Facebook Hermes prior to commit fe52854cdf6725c2eaa9e125995da76e6ceb27da 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.5.2
Fixnpm install hermes-engine@0.5.2

References