Ubuntu CVE Tracker
UBUNTU-CVE-2023-23918
This advisory was withdrawn on 18 July 2025.
Details
A privilege escalation vulnerability exists in Node.js <19.6.1, <18.14.1, <16.19.1 and <14.21.3 that made it possible to bypass the experimental Permissions (https://nodejs.org/api/permissions.html) feature in Node.js and access non authorized modules by using process.mainModule.require(). This only affects users who had enabled the experimental permissions option with --experimental-policy.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:24.04:LTS | nodejs | All versions before 18.19.1+dfsg-2ubuntu4 (fixed in 18.19.1+dfsg-2ubuntu4) |
References
- https://ubuntu.com/security/CVE-2023-23918
- https://nodejs.org/en/blog/vulnerability/february-2023-security-releases/#node-js-permissions-policies-can-be-bypassed-via-process-mainmodule-high-cve-2023-23918
- https://github.com/nodejs/node/commit/af9140088621abd09016848f4526d66b7a81b9ba
- https://github.com/nodejs/node/commit/9b7db62276e4a9c97aedf91daf38bf7b7d23fee4
- https://nodejs.org/en/blog/vulnerability/february-2023-security-releases/
- https://www.cve.org/CVERecord?id=CVE-2023-23918