A privilege escalation vulnerability exists in the experimental policy mechanism in all active release lines: 16.x, 18.x and, 20.x. The use of the deprecated API process.binding()
can bypass the policy mechanism by requiring internal modules and eventually take advantage of process.binding('spawn_sync')
run arbitrary code, outside of the limits defined in a policy.json
file. Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "12.22.9~dfsg-1ubuntu3.6", "binary_name": "libnode-dev" }, { "binary_version": "12.22.9~dfsg-1ubuntu3.6", "binary_name": "libnode72" }, { "binary_version": "12.22.9~dfsg-1ubuntu3.6", "binary_name": "libnode72-dbgsym" }, { "binary_version": "12.22.9~dfsg-1ubuntu3.6", "binary_name": "nodejs" }, { "binary_version": "12.22.9~dfsg-1ubuntu3.6", "binary_name": "nodejs-dbgsym" }, { "binary_version": "12.22.9~dfsg-1ubuntu3.6", "binary_name": "nodejs-doc" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "18.19.1+dfsg-6ubuntu5", "binary_name": "libnode-dev" }, { "binary_version": "18.19.1+dfsg-6ubuntu5", "binary_name": "libnode109" }, { "binary_version": "18.19.1+dfsg-6ubuntu5", "binary_name": "libnode109-dbgsym" }, { "binary_version": "18.19.1+dfsg-6ubuntu5", "binary_name": "nodejs" }, { "binary_version": "18.19.1+dfsg-6ubuntu5", "binary_name": "nodejs-dbgsym" }, { "binary_version": "18.19.1+dfsg-6ubuntu5", "binary_name": "nodejs-doc" } ] }