A privilege escalation vulnerability exists in Node.js 20 that allowed loading arbitrary OpenSSL engines when the experimental permission model is enabled, which can bypass and/or disable the permission model. The attack complexity is high. However, the crypto.setEngine() API can be used to bypass the permission model when called with a compatible OpenSSL engine. The OpenSSL engine can, for example, disable the permission model in the host process by manipulating the processs stack memory to locate the permission model Permission::enabled_ in the host processs heap memory. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Node.js | Nodejs | 20.0.0 (including) | 20.3.1 (excluding) |
Nodejs | Ubuntu | bionic | * |
Nodejs | Ubuntu | kinetic | * |
Nodejs | Ubuntu | lunar | * |
Nodejs | Ubuntu | trusty | * |
Nodejs | Ubuntu | xenial | * |
Assuming a user with a given identity, authorization is the process of determining whether that user can access a given resource, based on the user’s privileges and any permissions or other access-control specifications that apply to the resource. When access control checks are not applied, users are able to access data or perform actions that they should not be allowed to perform. This can lead to a wide range of problems, including information exposures, denial of service, and arbitrary code execution.