CVE-2023-30581 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 experim...
HighCVSS 7.5
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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
Upgrade path
6 packages: 5 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nodejs node | >= 4.0; >= 5.0; >= 6.0; >= 7.0 +13 more | 16.20.1, 18.16.1, 20.3.1 | Partially fixed |
| debian/nodejs(Debian 12) | < 18.19.0+dfsg-6~deb12u1; = 18.13.0+dfsg1-1; = 18.13.0+dfsg1-1.1; = 18.19.0+dfsg-1 +4 more | 18.19.0+dfsg-6~deb12u1 | Fixed |
| debian/nodejs(Debian 13) | < 18.13.0+dfsg1-1.1 | 18.13.0+dfsg1-1.1 | Fixed |
| debian/nodejs(Debian 14) | < 18.13.0+dfsg1-1.1 | 18.13.0+dfsg1-1.1 | Fixed |
| nodejs node.js | >= 16.0.0, < 16.20.1; >= 18.0.0, < 18.16.1; >= 20.0.0, < 20.3.1 | 16.20.1, 18.16.1, 20.3.1 | Fixed |
| ubuntu/nodejs(Ubuntu 24.04) | < 18.19.1+dfsg-2ubuntu4; = 18.13.0+dfsg1-1ubuntu2 | 18.19.1+dfsg-2ubuntu4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/nodejs(Debian:12) | < 18.19.0+dfsg-6~deb12u1 | 18.19.0+dfsg-6~deb12u1 |
| debian/nodejs(Debian:12) | = 18.13.0+dfsg1-1 | No fix listed |
| debian/nodejs(Debian:12) | = 18.13.0+dfsg1-1.1 | No fix listed |
| debian/nodejs(Debian:12) | = 18.19.0+dfsg-1 | No fix listed |
| debian/nodejs(Debian:12) | = 18.19.0+dfsg-2 | No fix listed |
| debian/nodejs(Debian:12) | = 18.19.0+dfsg-3 | No fix listed |
| debian/nodejs(Debian:12) | = 18.19.0+dfsg-4 | No fix listed |
| debian/nodejs(Debian:12) | = 18.19.0+dfsg-5 | No fix listed |
| debian/nodejs(Debian:13) | < 18.13.0+dfsg1-1.1 | 18.13.0+dfsg1-1.1 |
| debian/nodejs(Debian:14) | < 18.13.0+dfsg1-1.1 | 18.13.0+dfsg1-1.1 |
| nodejs node | >= 4.0 | No fix listed |
| nodejs node | >= 5.0 | No fix listed |
| nodejs node | >= 6.0 | No fix listed |
| nodejs node | >= 7.0 | No fix listed |
| nodejs node | >= 8.0 | No fix listed |
| nodejs node | >= 9.0 | No fix listed |
| nodejs node | >= 10.0 | No fix listed |
| nodejs node | >= 11.0 | No fix listed |
| nodejs node | >= 12.0 | No fix listed |
| nodejs node | >= 13.0 | No fix listed |
| nodejs node | >= 14.0 | No fix listed |
| nodejs node | >= 15.0 | No fix listed |
| nodejs node | >= 16.0, < 16.20.1 | 16.20.1 |
| nodejs node | >= 17.0 | No fix listed |
| nodejs node | >= 18.0, < 18.16.1 | 18.16.1 |
Show 7 more
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node | >= 19.0 | No fix listed |
| nodejs node | >= 20.0, < 20.3.1 | 20.3.1 |
| nodejs node.js | >= 16.0.0, < 16.20.1 | 16.20.1 |
| nodejs node.js | >= 18.0.0, < 18.16.1 | 18.16.1 |
| nodejs node.js | >= 20.0.0, < 20.3.1 | 20.3.1 |
| ubuntu/nodejs(Ubuntu:24.04) | < 18.19.1+dfsg-2ubuntu4 | 18.19.1+dfsg-2ubuntu4 |
| ubuntu/nodejs(Ubuntu:24.04) | = 18.13.0+dfsg1-1ubuntu2 | No fix listed |
References
- Debian Security Tracker CVE-2023-30581 vendor-advisory
- nodejs.org issue-tracking release-notes
- security.netapp.com
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking