CVE-2024-37372

Node.js 20 and 1 other: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVE-2024-37372 is fixed in 3 products on 2 platforms, first by Node.js 20 20.15.1, released July 8, 2024. It is not reported as exploited. Patch Radar priority: Routine.

RoutineFixed on 2 platforms
CVSS
3.6
No vendor severity
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0049
42nd percentile

The Permission Model assumes that any path starting with two backslashes \ has a four-character prefix that can be ignored, which is not always true. This subtle bug leads to vulnerable edge cases.

Where it's fixed

ProductFixed inFixReleased
Windows apps
Node.js 20 20.15.1 Node.js 20 20.15.1 Jul 8, 2024
Node.js 22 22.4.1 Node.js 22 22.4.1 Jul 8, 2024
Linux
nodejs20 · opensuse-leap 15.6 20.15.1-150600.3.3.2 SUSE-SU-2024:2574-1 Jul 22, 2024
nodejs20 · sles 15.6 20.15.1-150600.3.3.2 SUSE-SU-2024:2574-1 Jul 22, 2024