В Node.js <19.6.1, <18.14.1, <16.19.1 и <14.21.3 существует уязвимость, которая позволила обойти экспериментальную функцию Permissions (https://nodejs.org/api/permissions.html) в Node.js и получить доступ к неавторизованным модулям с помощью process.mainModule.require(). Это касается только пользователей, которые включили опцию экспериментальных разрешений с помощью --experimental-policy.
Показать оригинальное описание (EN)
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 v3.1
Тип уязвимости (CWE)
Уязвимые продукты 7
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
|
14.0.0
|
<= 14.14.0
|
|
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
|
14.0.0
|
14.21.3
|
|
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
|
16.0.0
|
<= 16.12.0
|
|
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
|
16.0.0
|
16.19.1
|
|
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
|
18.0.0
|
<= 18.11.0
|
|
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*
|
18.0.0
|
18.14.1
|
|
Nodejs Node.Js
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
|
19.0.0
|
19.6.1
|