{"id":"CVE-2021-22931","published":"2021-08-16T00:00:00Z","modified":"2025-04-30T22:24:34Z","title":"Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to…","vendor":"NodeJS","product":"Node","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.21952,"percentile":0.97712,"provenance":"source"},"cwes":[{"id":"CWE-170","name":"Improper Null Termination"}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/","tags":[]},{"url":"https://hackerone.com/reports/1178337","tags":[]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20210923-0001/","tags":[]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20211022-0003/","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","tags":[]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":[]},{"url":"https://security.gentoo.org/glsa/202401-02","tags":["vendor-advisory"]}],"priority":{"score":19.5,"factors":[{"name":"EPSS percentile","points":19.54}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"NodeJS","product":"Node","versions":[">= 4.0, < 4.*",">= 5.0, < 5.*",">= 6.0, < 6.*",">= 7.0, < 7.*",">= 8.0, < 8.*",">= 9.0, < 9.*",">= 10.0, < 10.*",">= 11.0, < 11.*",">= 12.0, < 12.22.5",">= 13.0, < 13.*"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-01-11T21:01:01.127709Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is missing input validation of host names returned by DNS servers in the dns library of Node.js, affecting Node.js versions before 16.6.0, 14.17.4, and 12.22.4.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:42:48Z"},"euvd":{"id":"EUVD-2021-10060","exploited":false,"provenance":"source"}}