Lack of data validation - Path Traversal In nodejs
Description
The use of proto in process.mainModule.proto.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This vulnerability affects all users using the experimental policy mechanism in all active release lines: v16, v18 and, v20. Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | 18.19.0+dfsg-6~deb12u1 | ||
debian 13 | 18.13.0+dfsg1-1.1 | ||
debian 14 | 18.13.0+dfsg1-1.1 | ||
rpm rhel8 | - | - | |
rpm rhel8.6 | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | ||
rpm rhel9 | 1:16.20.1-1.el9_2 | ||
rpm rhel9.0 | 1:16.20.2-1.el9_0 | ||
npm | 16.20.1, 18.16.1, 20.3.1 |
Aliases
1. 2. 3. 4. 5. 6. 7. 8.
References
1.