First published: Mon Jul 12 2021(Updated: )
Node.js before 16.4.1, 14.17.2, and 12.22.2 is vulnerable to local privilege escalation attacks under certain conditions on Windows platforms. More specifically, improper configuration of permissions in the installation directory allows an attacker to perform two different escalation attacks: PATH and DLL hijacking.
Credit: support@hackerone.com
Affected Software | Affected Version | How to fix |
---|---|---|
Nodejs Node.js | >=12.0.0<12.22.2 | |
Nodejs Node.js | >=14.0.0<14.17.2 | |
Nodejs Node.js | >=16.0.0<16.4.1 | |
Microsoft Windows | ||
Siemens Sinec Infrastructure Network Services | <1.0.1.1 | |
IBM Cognos Controller | <=11.0.0 - 11.0.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-22921 is a vulnerability in Node.js that could allow a local attacker to gain elevated privileges on the system.
CVE-2021-22921 is caused by improper configuration of permissions in the installation directory of Node.js, which can be exploited by a local attacker to perform PATH and DLL hijacking attacks.
CVE-2021-22921 has a severity rating of high, with a CVSS score of 7.4.
CVE-2021-22921 can be exploited by a local attacker who has access to the installation directory of Node.js, allowing them to manipulate the PATH environment variable and potentially execute malicious code.
To fix CVE-2021-22921, it is recommended to update Node.js to the latest version and ensure proper configuration of permissions in the installation directory.