Incorrect Conversion between Numeric Types Affecting facebook/hermes package, versions [,2022-11-03-0.71.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.96% (59th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-FACEBOOKHERMES-3042405
  • published11 Oct 2022
  • disclosed11 Oct 2022
  • creditUnknown

Introduced: 11 Oct 2022

CVE-2022-40138  (opens in a new tab)
CWE-681  (opens in a new tab)

How to fix?

Upgrade facebook/hermes to version 2022-11-03-0.71.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Conversion between Numeric Types during bytecode conversion, which could trigger out-of-bounds writes and allow arbitrary code execution if Hermes is used to execute untrusted JavaScript.

CVSS Base Scores

version 3.1