Missing Authorization Affecting nodejs-20 package, versions <20.3.1-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.07% (32nd 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 Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-WOLFILATEST-NODEJS20-5847279
  • published21 Aug 2023
  • disclosed1 Jul 2023

Introduced: 1 Jul 2023

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

How to fix?

Upgrade Wolfi nodejs-20 to version 20.3.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-20 package and not the nodejs-20 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

A privilege escalation vulnerability exists in Node.js 20 that allowed loading arbitrary OpenSSL engines when the experimental permission model is enabled, which can bypass and/or disable the permission model. The attack complexity is high. However, 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. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

CVSS Scores

version 3.1