CVE-2021-22931
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
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 21.95% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 97.4% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2021-08-16 00:00Z5 YR AGO
- Last updated
- 2025-04-30 22:24Z1 YR AGO
- Reserved
- 2021-01-06
- Assigning CNA
- hackerone
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 5c357b6afa976033c89ad1f06f0d70e112fb51a83b6ccd1498494b3ede4f2bbc
05 Affected products
06 References
- nodejs.orghttps://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/
- hackerone.comhttps://hackerone.com/reports/1178337
- www.oracle.comhttps://www.oracle.com/security-alerts/cpuoct2021.html
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20210923-0001/
- www.oracle.comhttps://www.oracle.com/security-alerts/cpujan2022.html
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20211022-0003/
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- www.oracle.comhttps://www.oracle.com/security-alerts/cpujul2022.html
- security.gentoo.orgGLSA-202401-02https://security.gentoo.org/glsa/202401-02
07 Fixed in
AlmaLinux 8
- nodejs Fixed
A version is affected if any line below covers it.
- Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
- Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
- nodejs-devel Fixed
A version is affected if any line below covers it.
- Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
- Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
- nodejs-docs Fixed in 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
- nodejs-full-i18n Fixed
A version is affected if any line below covers it.
- Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
- Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
- nodejs-nodemon Fixed in 2.0.3-1.module_el8.4.0+2521+c668cc9f
- nodejs-packaging Fixed
A version is affected if any line below covers it.
- Affected before 17-3.module_el8.3.0+2023+d2377ea3
- Affected before 17-3.module_el8.4.0+2224+b07ac28e
- Affected before 17-3.module_el8.4.0+2521+c668cc9f
- Affected before 23-3.module_el8.4.0+2522+3bd42762
- Affected before 23-3.module_el8.5.0+254+b4526b16
- npm Fixed
A version is affected if any line below covers it.
- Affected before 1:6.14.14-1.12.22.5.1.module_el8.4.0+2529+af52a4c7
- Affected before 1:6.14.14-1.12.22.5.1.module_el8.5.0+85+79a7b441
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- nodejs Not affected
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- nodejs Fixed
A version is affected if any line below covers it.
- Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
- Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
- nodejs-devel Fixed
A version is affected if any line below covers it.
- Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
- Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
- nodejs-docs Fixed in 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
- nodejs-full-i18n Fixed
A version is affected if any line below covers it.
- Affected before 1:12.22.5-1.module_el8.4.0+2529+af52a4c7
- Affected before 1:12.22.5-1.module_el8.5.0+85+79a7b441
- nodejs-nodemon Fixed in 2.0.3-1.module_el8.4.0+2521+c668cc9f
- nodejs-packaging Fixed
A version is affected if any line below covers it.
- Affected before 17-3.module_el8.3.0+2023+d2377ea3
- Affected before 17-3.module_el8.4.0+2224+b07ac28e
- Affected before 17-3.module_el8.4.0+2521+c668cc9f
- Affected before 23-3.module_el8.4.0+2522+3bd42762
- Affected before 23-3.module_el8.5.0+254+b4526b16
- npm Fixed
A version is affected if any line below covers it.
- Affected before 1:6.14.14-1.12.22.5.1.module_el8.4.0+2529+af52a4c7
- Affected before 1:6.14.14-1.12.22.5.1.module_el8.5.0+85+79a7b441
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.