Privilege Escalation Affecting node package, versions [20.0.0,20.3.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.08% (36th 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-UPSTREAM-NODE-5750283
  • published2 Jul 2023
  • disclosed2 Jul 2023
  • creditTobias Nießen

Introduced: 2 Jul 2023

CVE-2023-30586  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade node to version 20.3.1 or higher.

Overview

node is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Affected versions of this package are vulnerable to Privilege Escalation allows loading arbitrary OpenSSL engines when the experimental permission model is enabled, which can bypass and/or disable the permission model. The crypto.setEngine() API can be used to bypass the permission model when called with a compatible OpenSSL engine. The OpenSSL engine can, for example, disable the permission model in the host process by manipulating the process's stack memory to locate the permission model Permission::enabled_ in the host process's heap memory.

Note: This vulnerability affects all users using the experimental permission model in Node.js 20.

References

CVSS Scores

version 3.1