Directory Traversal Affecting nodejs-packaging package, versions <0:2021.06-4.module+el8.7.0+1072+5b168780


Severity

Recommended
0.0
high
0
10

Based on Rocky 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-ROCKY8-NODEJSPACKAGING-6092119
  • published29 Nov 2023
  • disclosed18 Oct 2023

Introduced: 18 Oct 2023

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

How to fix?

Upgrade Rocky-Linux:8 nodejs-packaging to version 0:2021.06-4.module+el8.7.0+1072+5b168780 or higher.
This issue was patched in RLSA-2023:7205.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-packaging package and not the nodejs-packaging package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 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