Uncontrolled Recursion Affecting facebook/hermes package, versions [,0.12.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.08% (38th 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-3041025
  • published7 Oct 2022
  • disclosed7 Oct 2022
  • creditUnknown

Introduced: 7 Oct 2022

CVE-2022-27810  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade facebook/hermes to version 0.12.0 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion by allowing an attacker to trigger an infinite recursion condition in the error handler when Hermes executed specific maliciously formed JavaScript.

Note This condition was only possible to trigger in dev-mode (when asserts were enabled).

CVSS Scores

version 3.1