VDB
Sign up
CRITICAL9.8

GHSA-7mhc-prgv-r3q4

Access of Resource Using Incompatible Type in Hermes

Quick fix

GHSA-7mhc-prgv-r3q4 — hermes-engine: upgrade to the fixed version with the command below.

npm install hermes-engine@0.10.0

Details

By passing invalid javascript code where await and yield were called upon non-async and non-generator getter/setter functions, Hermes would invoke generator functions and error out on invalid await/yield positions. This could result in segmentation fault as a consequence of type confusion error, with a low chance of RCE. This issue affects Hermes versions prior to v0.10.0.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References