Directory Traversal Affecting nodejs-current package, versions <20.8.1-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-ALPINE319-NODEJSCURRENT-6110264
  • published8 Dec 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 Alpine:3.19 nodejs-current to version 20.8.1-r0 or higher.

NVD Description

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