Directory Traversal Affecting nodejs:20/npm package, versions <1:10.1.0-1.20.8.1.1.module_el8.9.0+3675+0258a6d9


Severity

Recommended
0.0
high
0
10

Based on AlmaLinux 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-ALMALINUX8-NODEJS-6087603
  • published27 Nov 2023
  • disclosed14 Nov 2023

Introduced: 14 Nov 2023

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

How to fix?

Upgrade AlmaLinux:8 nodejs:20/npm to version 1:10.1.0-1.20.8.1.1.module_el8.9.0+3675+0258a6d9 or higher.
This issue was patched in ALSA-2023:7205.

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 AlmaLinux. See How to fix? for AlmaLinux: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