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.
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
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| 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 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.