CVE-2023-23918
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Trends
Current EPSS score: 0.02%• Percentile: 6%
Techniques & Countermeasures
- CWE-863•Incorrect Authorization
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Affected Systems
- nodejs•node
≥ 4.0, < 4.* | ≥ 5.0, < 5.* | ≥ 6.0, < 6.* | ≥ 7.0, < 7.* | ≥ 8.0, < 8.* | ≥ 9.0, < 9.* | ≥ 10.0, < 10.* | ≥ 11.0, < 11.* | ≥ 12.0, < 12.* | ≥ 13.0, < 13.* | ≥ 14.0, < 14.21.3 | ≥ 15.0, < 15.* | ≥ 16.0, < 16.19.1 | ≥ 17.0, < 17.* | ≥ 18.0, < 18.14.1 | ≥ 19.0, < 19.6.1
- nodejs•node.js
≥ 14.0.0, ≤ 14.14.0 | ≥ 14.0.0, < 14.21.3 | ≥ 16.0.0, ≤ 16.12.0 | ≥ 16.0.0, < 16.19.1 | ≥ 18.0.0, ≤ 18.11.0 | ≥ 18.0.0, < 18.14.1 | ≥ 19.0.0, < 19.6.1