Directory Traversal Affecting nodejs:20/nodejs-packaging package, versions <0:2021.06-4.module+el9.3.0+19518+63aad52d


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.07% (31st 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 Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL9-NODEJS-6139159
  • published23 Dec 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/nodejs-packaging to version 0:2021.06-4.module+el9.3.0+19518+63aad52d or higher.
This issue was patched in RHEA-2023:7252.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:20/nodejs-packaging package and not the nodejs:20/nodejs-packaging 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 Scores

version 3.1