Directory Traversal Affecting nodejs:20/npm package, versions <1:10.1.0-1.20.8.1.1.module+el9.3.0.z+20478+84a9f781


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.33% (68th 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-RHEL9-NODEJS-5971369
  • published17 Oct 2023
  • disclosed13 Oct 2023

Introduced: 13 Oct 2023

CVE-2023-39331  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade RHEL:9 nodejs:20/npm to version 1:10.1.0-1.20.8.1.1.module+el9.3.0.z+20478+84a9f781 or higher.
This issue was patched in RHEA-2023:6529.

NVD Description

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

A previously disclosed vulnerability (CVE-2023-30584) was patched insufficiently in commit 205f1e6. The new path traversal vulnerability arises because the implementation does not protect itself against the application overwriting built-in utility functions with user-defined implementations.

Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

CVSS Base Scores

version 3.1