7.8high
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 platfor…
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 7.43% (higher than 94% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- BIT-NODE-2021-22921BIT-NODE-MIN-2021-22921
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| NodeJS Node | from 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.*, from 8.0 before 8.*, from 9.0 before 9.*, from 10.0 before 10.*, from 11.0 before 11.* and 5 more | CVE List |
| 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 | NVD |
| siemens sinec_infrastructure_network_services | before 1.0.1.1 | NVD |
| node (Bitnami) | from 12.0.0 before 12.22.2, from 14.0.0 before 14.17.2, from 16.0.0 before 16.4.1 | Bitnami Vulnerability Database |
| node-min (Bitnami) | from 12.0.0 before 12.22.2, from 14.0.0 before 14.17.2, from 16.0.0 before 16.4.1 | Bitnami Vulnerability Database |
All scores
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 4.4medium CVSS:2.0 | AV:L/AC:M/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
Node.js versiones anteriores a 16.4.1, 14.17.2 y 12.22.2, es vulnerable a ataques de escalada de privilegios locales bajo determinadas condiciones en plataformas Windows. Más concretamente, una configuración inapropiada de los permisos en el directorio de instalación permite a un atacante llevar a cabo dos ataques de escalada diferentes: PATH y secuestro de DLL
References
| https://nodejs.org/en/blog/vulnerability/july-2021-security-releases/ | advisory, patch, release-notes, vendor-advisory | |
| https://hackerone.com/reports/1211160 | advisory, exploit, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20210805-0003/ | advisory, third-party-advisory | |
| https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf | patch, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-22921 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22921 changed 2025-04-30 | CVE Terms of Use |
| NVD | CVE-2021-22921 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2021-22921 changed 2026-10-16 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2021-22921 changed 2026-10-16 | Apache-2.0 |