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.
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.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Node.js | Nodejs | 14.0.0 (including) | 14.14.0 (including) |
Node.js | Nodejs | 14.0.0 (including) | 14.21.3 (excluding) |
Node.js | Nodejs | 16.0.0 (including) | 16.12.0 (including) |
Node.js | Nodejs | 16.0.0 (including) | 16.19.1 (excluding) |
Node.js | Nodejs | 18.0.0 (including) | 18.11.0 (including) |
Node.js | Nodejs | 18.0.0 (including) | 18.14.1 (excluding) |
Node.js | Nodejs | 19.0.0 (including) | 19.6.1 (excluding) |
Red Hat Enterprise Linux 8 | RedHat | nodejs:16-8070020230314140722.bd1311ed | * |
Red Hat Enterprise Linux 8 | RedHat | nodejs:18-8070020230322080930.bd1311ed | * |
Red Hat Enterprise Linux 8 | RedHat | nodejs:14-8070020230306170042.bd1311ed | * |
Red Hat Enterprise Linux 8.4 Extended Update Support | RedHat | nodejs:14-8040020230306170312.522a0ee4 | * |
Red Hat Enterprise Linux 8.6 Extended Update Support | RedHat | nodejs:14-8060020230306170237.ad008a3a | * |
Red Hat Enterprise Linux 9 | RedHat | nodejs:18-9020020230327152102.rhel9 | * |
Red Hat Enterprise Linux 9 | RedHat | nodejs-1:16.19.1-1.el9_2 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-nodejs14-0:3.6-2.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-nodejs14-nodejs-0:14.21.3-2.el7 | * |
Nodejs | Ubuntu | lunar | * |
Nodejs | Ubuntu | mantic | * |
Nodejs | Ubuntu | trusty | * |
Nodejs | Ubuntu | xenial | * |