9.8critical
Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validatio…
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 22.0% (higher than 97% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- BIT-NODE-2021-22931BIT-NODE-MIN-2021-22931
Description
Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.
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 up to 12.12.0, from 12.13.0 before 12.22.5, from 14.0.0 up to 14.14.0, from 14.15.0 before 14.17.5, from 16.0.0 before 16.6.2 | NVD |
| netapp active_iq_unified_manager | Not specified | NVD |
| netapp nextgen_api | Not specified | NVD |
| netapp oncommand_insight | Not specified | NVD |
| netapp oncommand_workflow_automation | Not specified | NVD |
| netapp snapcenter | Not specified | NVD |
| oracle graalvm | 20.3.3, 21.2.0 | NVD |
| oracle mysql_cluster | up to 8.0.26 | NVD |
| oracle peoplesoft_enterprise_peopletools | 8.57, 8.58, 8.59 | NVD |
| siemens sinec_infrastructure_network_services | before 1.0.1.1 | NVD |
| node (Bitnami) | from 12.0.0 before 12.12.1, from 12.13.0 before 12.22.5, from 14.0.0 before 14.14.1, from 14.15.0 before 14.17.5, from 16.0.0 before 16.6.2 | Bitnami Vulnerability Database |
| node-min (Bitnami) | from 12.0.0 before 12.12.1, from 12.13.0 before 12.22.5, from 14.0.0 before 14.14.1, from 14.15.0 before 14.17.5, from 16.0.0 before 16.6.2 | Bitnami Vulnerability Database |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.
NVD (es)
Node.js versiones anteriores a 16.6.0, 14.17.4 y 12.22.4, es vulnerable a una Ejecución de Código Remota , ataques de tipo XSS, bloqueo de Aplicaciones debido a una falta de comprobación de entrada de los nombres de host devueltos por los Servidores de Nombres de Dominio en la librería dns de Node.js, que puede conllevar a la salida de nombres de host erróneos (conllevando al Secuestro de Dominio) y vulnerabilidades de inyección en aplicaciones que usan la librería.
References
| https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/ | advisory, patch, vendor-advisory | |
| https://hackerone.com/reports/1178337 | advisory, exploit, issue-tracking, third-party-advisory | |
| https://www.oracle.com/security-alerts/cpuoct2021.html | advisory, patch, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20210923-0001/ | advisory, third-party-advisory | |
| https://www.oracle.com/security-alerts/cpujan2022.html | advisory, patch, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20211022-0003/ | advisory, third-party-advisory | |
| https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf | patch, third-party-advisory | |
| https://www.oracle.com/security-alerts/cpujul2022.html | advisory, third-party-advisory | |
| https://security.gentoo.org/glsa/202401-02 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-22931 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22931 changed 2025-04-30 | CVE Terms of Use |
| NVD | CVE-2021-22931 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-NODE-2021-22931 changed 2026-10-16 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-NODE-MIN-2021-22931 changed 2026-10-16 | Apache-2.0 |