SecurityContext

CVE-2021-22921: Node.js - Privilege Escalation

  • Cve: CVE-2021-22921
  • Name: Node.js - Privilege Escalation
  • Description: 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.
  • Impact: Local attackers can escalate privileges, potentially gaining administrative rights and full control over the system.
  • Remediation: Update to the latest Node.js version where this issue is fixed or correct directory permissions manually.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.07431
  • Epss percentile: 0.94529
  • Assignee: [email protected]
  • Published at: 2021-07-12T11:15:08Z
  • Age in days: 1961
  • Modified at: 2026-06-17T03:38:01Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-22921
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-732Incorrect Permission Assignment for Critical Resource

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://hackerone.com/reports/1211160nvd2021-07-12

References

Same in every row:

  • Source: nvd
UrlTags
https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/Patch, Release Notes, Vendor Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdfPatch, Third Party Advisory
https://hackerone.com/reports/1211160Exploit, Third Party Advisory
https://security.netapp.com/advisory/ntap-20210805-0003/Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
nodejs:node.js>= 16.0.0, < 16.4.1; >= 14.0.0, < 14.17.2; >= 12.0.0, < 12.22.2yesnvd/v1/products/nodejs/node.js
siemens:sinec_infrastructure_network_services< 1.0.1.1nonvd/v1/products/siemens/sinec_infrastructure_network_services

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-07-12
  • Hackerone reports: 1
  • Exposed hosts: 3533194
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since