All vulnerabilities

Servers and applications

CVE-2021-22921

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.

Severity
High 7.8
Published
12 Jul 2021
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
12.22.2, 14.17.2, 16.4.1
Sources
NVD

Affected software

SoftwareAffected versions
Node.jsServers and applications · cpe:a:nodejs:node.js
  • From 12.0.0 before 12.22.2
  • From 14.0.0 before 14.17.2
  • From 16.0.0 before 16.4.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-22921
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-22921