CVE-2023-23918
published 2023-02-23CVE-2023-23918: 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…
PriorityP346high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
2.02%
78.8th percentile
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
33 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | nodejs | < nodejs 18.19.0+dfsg-6~deb12u1 (bookworm) | nodejs 18.19.0+dfsg-6~deb12u1 (bookworm) |
| msrc | cbl2_nodejs_16.19.1-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_nodejs_14.21.3-1_on_cbl_mariner_1.0 | — | — |
| nodejs | node | >= 10.0 < 10.* | 10.* |
| nodejs | node | >= 11.0 < 11.* | 11.* |
| nodejs | node | >= 12.0 < 12.* | 12.* |
| nodejs | node | >= 13.0 < 13.* | 13.* |
| nodejs | node | >= 14.0 < 14.21.3 | 14.21.3 |
| nodejs | node | >= 15.0 < 15.* | 15.* |
| nodejs | node | >= 16.0 < 16.19.1 | 16.19.1 |
| nodejs | node | >= 17.0 < 17.* | 17.* |
| nodejs | node | >= 18.0 < 18.14.1 | 18.14.1 |
| nodejs | node | >= 19.0 < 19.6.1 | 19.6.1 |
| nodejs | node | >= 4.0 < 4.* | 4.* |
| nodejs | node | >= 5.0 < 5.* | 5.* |
| nodejs | node | >= 6.0 < 6.* | 6.* |
| nodejs | node | >= 7.0 < 7.* | 7.* |
| nodejs | node | >= 8.0 < 8.* | 8.* |
| nodejs | node | >= 9.0 < 9.* | 9.* |
| nodejs | node.js | >= 14.0.0 < 14.21.3 | 14.21.3 |
| nodejs | node.js | 14.0.0 – 14.14.0 | — |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
Node.js: Permissions policies can be bypassed via process.mainModule
vendor_redhat·2023-02-16·CVSS 7.5
CVE-2023-23918 [HIGH] CWE-863 Node.js: Permissions policies can be bypassed via process.mainModule
Node.js: Permissions policies can be bypassed via process.mainModule
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.
Statement: The vulnerability in question can only be triggered by an attacker if the victim has enabled --experimental-policy which in many node.js deployments won't ,which marks the conditions for exploitability outside of the attacker's control.
Mitigation: Turn off the --experimental-policy in your Node.js deployment.
Package:
Microsoft
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) fea
vendor_msrc·2023-02-14·CVSS 7.5
CVE-2023-23918 [HIGH] CWE-863 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) fea
A privilege escalation vulnerability exists in Node.js Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
hackerone: hackerone
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://lear
Debian
CVE-2023-23918: nodejs - A privilege escalation vulnerability exists in Node.js <19.6.1, <18.14.1, <16.19...
vendor_debian·2023·CVSS 7.5
CVE-2023-23918 [HIGH] CVE-2023-23918: nodejs - A privilege escalation vulnerability exists in Node.js <19.6.1, <18.14.1, <16.19...
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.
Scope: local
bookworm: resolved (fixed in 18.19.0+dfsg-6~deb12u1)
bullseye: resolved
forky: resolved (fixed in 18.19.0+dfsg-2)
sid: resolved (fixed in 18.19.0+dfsg-2)
trixie: resolved (fixed in 18.19.0+dfsg-2)
OSV
CVE-2023-23918: A privilege escalation vulnerability exists in Node
osv·2023-02-23·CVSS 7.5
CVE-2023-23918 [HIGH] CVE-2023-23918: A privilege escalation vulnerability exists in Node
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.
GHSA
GHSA-33p5-m25c-cp6w: A privilege escalation vulnerability exists in Node
ghsa_unreviewed·2023-02-23
CVE-2023-23918 [HIGH] CWE-863 GHSA-33p5-m25c-cp6w: A privilege escalation vulnerability exists in Node
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2023-02-23
Published