The use of module.constructor.createRequire()
can bypass the policy mechanism and require modules outside of the policy.json definition for a given module. This vulnerability affects all users using the experimental policy mechanism in all active release lines: 16.x, 18.x, and, 20.x. 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": [ { "nodejs-doc": "12.22.9~dfsg-1ubuntu3.6", "libnode72": "12.22.9~dfsg-1ubuntu3.6", "nodejs": "12.22.9~dfsg-1ubuntu3.6", "libnode-dev": "12.22.9~dfsg-1ubuntu3.6", "libnode72-dbgsym": "12.22.9~dfsg-1ubuntu3.6", "nodejs-dbgsym": "12.22.9~dfsg-1ubuntu3.6" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "libnode109-dbgsym": "18.19.1+dfsg-6ubuntu5", "nodejs-doc": "18.19.1+dfsg-6ubuntu5", "nodejs": "18.19.1+dfsg-6ubuntu5", "libnode-dev": "18.19.1+dfsg-6ubuntu5", "libnode109": "18.19.1+dfsg-6ubuntu5", "nodejs-dbgsym": "18.19.1+dfsg-6ubuntu5" } ] }