VDB
Sign up
HIGH8.1

GHSA-pf27-929j-9pmm

Out-of-bounds Read and Out-of-bounds Write in Facebook Hermes

Quick fix

GHSA-pf27-929j-9pmm — hermes-engine: upgrade to the fixed version with the command below.

npm install hermes-engine@0.5.2

Details

An out-of-bounds read/write vulnerability when executing lazily compiled inner generator functions in Facebook Hermes prior to commit 091835377369c8fd5917d9b87acffa721ad2a168 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