CVE-2023-30582 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-5847267
  • published21 Aug 2023
  • disclosed7 Sept 2024

Introduced: 21 Aug 2023

CVE-2023-30582  (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 has been identified in Node.js version 20, affecting users of the experimental permission model when the --allow-fs-read flag is used with a non-* argument. This flaw arises from an inadequate permission model that fails to restrict file watching through the fs.watchFile API. As a result, malicious actors can monitor files that they do not have explicit read access to.

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