VDB
Sign up
HIGH8.1

GHSA-gmpm-xp43-f7g6

Signed to Unsigned Conversion Error in Facebook Hermes

Quick fix

GHSA-gmpm-xp43-f7g6 — hermes-engine: upgrade to the fixed version with the command below.

npm install hermes-engine@0.5.2

Details

An Integer signedness error in the JavaScript Interpreter in Facebook Hermes prior to commit 2c7af7ec481ceffd0d14ce2d7c045e475fd71dc6 allows attackers to cause a denial of service attack or a potential RCE 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