CVE-2023-30587 Affecting nodejs-20 package, versions <20.3.1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.04% (11th 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-WOLFILATEST-NODEJS20-5847273
  • published21 Aug 2023
  • disclosed7 Sept 2024

Introduced: 21 Aug 2023

CVE-2023-30587  (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 vulnerability in Node.js version 20 allows for bypassing restrictions set by the --experimental-permission flag using the built-in inspector module (node:inspector).

By exploiting the Worker class's ability to create an "internal worker" with the kIsInternal Symbol, attackers can modify the isInternal value when an inspector is attached within the Worker constructor before initializing a new WorkerImpl. This vulnerability exclusively affects Node.js users employing the permission model mechanism.

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