CVE-2021-22931
publishednodejs: Improper handling of untypical characters in domain names
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NodeJS | — | Node4.0 to < 4.* · 5.0 to < 5.* · 6.0 to < 6.* · 7.0 to < 7.* · 8.0 to < 8.* · 9.0 to < 9.* · 10.0 to < 10.* · 11.0 to < 11.* · 12.0 to < 12.22.5 · 13.0 to < 13.* · 14.0 to < 14.17.5 · 15.0 to < 15.* · 16.0 to < 16.6.2 · Other versions: unaffected | Affected | Not stated | hackerone |
| AlmaLinux | 8 | nodejs | Advisory build | 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 | ALSA-2021:3623 |
| Alpine Linux | edge | nodejs | Fixed | 14.17.5-r0 | Package fix record |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 12b | Advisory build | 1:12.22.5-1.module+el8.4.0+20308+065a70e3 | ELSA-2021-3623 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejsppc64le | Advisory build | 12.22.5-1.el7 | RHSA-2021:3281 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:12.22.5-1.module_el8.5.0+85+79a7b441 | ALSA-2021:3623 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 | ALSA-2021:3623 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:12.22.5-1.module_el8.5.0+85+79a7b441 | ALSA-2021:3623 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 | ALSA-2021:3623 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:12.22.5-1.module_el8.4.0+2529+af52a4c7 | ALSA-2021:3623 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:12.22.5-1.module_el8.5.0+85+79a7b441 | ALSA-2021:3623 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.3-1.module_el8.4.0+2521+c668cc9f | ALSA-2021:3623 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 2.0.3-1.module_el8.4.0+2521+c668cc9f | ALSA-2021:3666 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 17-3.module_el8.3.0+2023+d2377ea3 | ALSA-2021:3623 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 17-3.module_el8.4.0+2224+b07ac28e | ALSA-2021:3623 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 17-3.module_el8.4.0+2521+c668cc9f | ALSA-2021:3623 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 23-3.module_el8.4.0+2522+3bd42762 | ALSA-2021:3666 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 23-3.module_el8.5.0+254+b4526b16 | ALSA-2021:3666 |
| AlmaLinux | 8 | npm | Advisory build | 1:6.14.14-1.12.22.5.1.module_el8.4.0+2529+af52a4c7 | ALSA-2021:3623 |
| AlmaLinux | 8 | npm | Advisory build | 1:6.14.14-1.12.22.5.1.module_el8.5.0+85+79a7b441 | ALSA-2021:3623 |
| Alpine Linux | edge | nodejs-current | Fixed | 16.6.2-r0 | Package fix record |
| Alpine Linux | v3.11 | nodejs | Fixed | 12.22.5-r0 | Package fix record |
| Alpine Linux | v3.12 | nodejs | Fixed | 12.22.5-r0 | Package fix record |
| Alpine Linux | v3.13 | nodejs | Fixed | 14.17.5-r0 | Package fix record |
| Alpine Linux | v3.14 | nodejs | Fixed | 14.17.5-r0 | Package fix record |
| Alpine Linux | v3.14 | nodejs-current | Fixed | 16.11.1-r0 | Package fix record |
| Alpine Linux | v3.15 | nodejs | Fixed | 14.17.5-r0 | Package fix record |
| Alpine Linux | v3.15 | nodejs-current | Fixed | 16.6.2-r0 | Package fix record |
| Alpine Linux | v3.16 | nodejs | Fixed | 14.17.5-r0 | Package fix record |
| Alpine Linux | v3.16 | nodejs-current | Fixed | 16.6.2-r0 | Package fix record |
| Alpine Linux | v3.17 | nodejs | Fixed | 14.17.5-r0 | Package fix record |
| Alpine Linux | v3.17 | nodejs-current | Fixed | 16.6.2-r0 | Package fix record |
| Alpine Linux | v3.18 | nodejs | Fixed | 14.17.5-r0 | Package fix record |
| Alpine Linux | v3.18 | nodejs-current | Fixed | 16.6.2-r0 | Package fix record |
| Alpine Linux | v3.19 | nodejs | Fixed | 14.17.5-r0 | Package fix record |
| Alpine Linux | v3.19 | nodejs-current | Fixed | 16.6.2-r0 | Package fix record |
| Alpine Linux | v3.20 | nodejs | Fixed | 14.17.5-r0 | Package fix record |
| Alpine Linux | v3.20 | nodejs-current | Fixed | 16.6.2-r0 | Package fix record |
| Alpine Linux | v3.21 | nodejs | Fixed | 14.17.5-r0 | Package fix record |
| Alpine Linux | v3.21 | nodejs-current | Fixed | 16.6.2-r0 | Package fix record |
| Alpine Linux | v3.22 | nodejs | Fixed | 14.17.5-r0 | Package fix record |
| Alpine Linux | v3.22 | nodejs-current | Fixed | 16.6.2-r0 | Package fix record |
| Alpine Linux | v3.23 | nodejs | Fixed | 14.17.5-r0 | Package fix record |
| Alpine Linux | v3.23 | nodejs-current | Fixed | 16.6.2-r0 | Package fix record |
| Alpine Linux | v3.24 | nodejs | Fixed | 14.17.5-r0 | Package fix record |
| Alpine Linux | v3.24 | nodejs-current | Fixed | 16.6.2-r0 | Package fix record |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 14b | Advisory build | 1:14.17.5-1.module+el8.4.0+20313+f90c2973 | ELSA-2021-3666 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 12b | Advisory build | 1:12.22.5-1.module+el8.4.0+20308+065a70e3 | ELSA-2021-3623 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 14b | Advisory build | 1:14.17.5-1.module+el8.4.0+20313+f90c2973 | ELSA-2021-3666 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 12b | Advisory build | 1:12.22.5-1.module+el8.4.0+20308+065a70e3 | ELSA-2021-3623 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 14b | Advisory build | 1:14.17.5-1.module+el8.4.0+20313+f90c2973 | ELSA-2021-3666 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 12b | Advisory build | 1:12.22.5-1.module+el8.4.0+20308+065a70e3 | ELSA-2021-3623 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 14b | Advisory build | 1:14.17.5-1.module+el8.4.0+20313+f90c2973 | ELSA-2021-3666 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 12b | Advisory build | 1:12.22.5-1.module+el8.4.0+20308+065a70e3 | ELSA-2021-3623 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 14b | Advisory build | 1:14.17.5-1.module+el8.4.0+20313+f90c2973 | ELSA-2021-3666 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 12b | Advisory build | 1:12.22.5-1.module+el8.4.0+20308+065a70e3 | ELSA-2021-3623 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 14b | Advisory build | 1:14.17.5-1.module+el8.4.0+20313+f90c2973 | ELSA-2021-3666 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 12b | Advisory build | 1:12.22.5-1.module+el8.4.0+20308+065a70e3 | ELSA-2021-3623 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 14b | Advisory build | 1:14.17.5-1.module+el8.4.0+20313+f90c2973 | ELSA-2021-3666 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 12b | Advisory build | 1:12.22.5-1.module+el8.4.0+20308+065a70e3 | ELSA-2021-3623 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 14b | Advisory build | 1:14.17.5-1.module+el8.4.0+20313+f90c2973 | ELSA-2021-3666 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 12b | Advisory build | 0:2.0.3-1.module+el8.4.0+20281+eb64e322 | ELSA-2021-3623 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 14b | Advisory build | 0:2.0.3-1.module+el8.3.0+7818+6cd30d85 | ELSA-2021-3666 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 12b | Advisory build | 0:2.0.3-1.module+el8.4.0+20281+eb64e322 | ELSA-2021-3623 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 14b | Advisory build | 0:2.0.3-1.module+el8.3.0+7818+6cd30d85 | ELSA-2021-3666 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 12b | Advisory build | 0:17-3.module+el8.1.0+5393+aaf413e3 | ELSA-2021-3623 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 14b | Advisory build | 0:23-3.module+el8.3.0+7818+6cd30d85 | ELSA-2021-3666 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 12b | Advisory build | 0:17-3.module+el8.1.0+5393+aaf413e3 | ELSA-2021-3623 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 14b | Advisory build | 0:23-3.module+el8.3.0+7818+6cd30d85 | ELSA-2021-3666 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 12b | Advisory build | 1:6.14.14-1.12.22.5.1.module+el8.4.0+20308+065a70e3 | ELSA-2021-3623 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 14b | Advisory build | 1:6.14.14-1.14.17.5.1.module+el8.4.0+20313+f90c2973 | ELSA-2021-3666 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 12b | Advisory build | 1:6.14.14-1.12.22.5.1.module+el8.4.0+20308+065a70e3 | ELSA-2021-3623 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 14b | Advisory build | 1:6.14.14-1.14.17.5.1.module+el8.4.0+20313+f90c2973 | ELSA-2021-3666 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejss390x | Advisory build | 12.22.5-1.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejssrc | Advisory build | 12.22.5-1.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejsx86_64 | Advisory build | 12.22.5-1.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-debuginfoppc64le | Advisory build | 12.22.5-1.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-debuginfos390x | Advisory build | 12.22.5-1.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-debuginfox86_64 | Advisory build | 12.22.5-1.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-develppc64le | Advisory build | 12.22.5-1.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-devels390x | Advisory build | 12.22.5-1.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-develx86_64 | Advisory build | 12.22.5-1.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-docsnoarch | Advisory build | 12.22.5-1.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-nodemonnoarch | Advisory build | 2.0.3-5.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-nodejs-nodemonsrc | Advisory build | 2.0.3-5.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-npmppc64le | Advisory build | 6.14.14-12.22.5.1.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-npms390x | Advisory build | 6.14.14-12.22.5.1.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs12-npmx86_64 | Advisory build | 6.14.14-12.22.5.1.el7 | RHSA-2021:3281 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejsppc64le | Advisory build | 14.17.5-1.el7 | RHSA-2021:3280 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejss390x | Advisory build | 14.17.5-1.el7 | RHSA-2021:3280 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejssrc | Advisory build | 14.17.5-1.el7 | RHSA-2021:3280 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejsx86_64 | Advisory build | 14.17.5-1.el7 | RHSA-2021:3280 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-debuginfoppc64le | Advisory build | 14.17.5-1.el7 | RHSA-2021:3280 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-debuginfos390x | Advisory build | 14.17.5-1.el7 | RHSA-2021:3280 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-debuginfox86_64 | Advisory build | 14.17.5-1.el7 | RHSA-2021:3280 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-develppc64le | Advisory build | 14.17.5-1.el7 | RHSA-2021:3280 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-devels390x | Advisory build | 14.17.5-1.el7 | RHSA-2021:3280 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-develx86_64 | Advisory build | 14.17.5-1.el7 | RHSA-2021:3280 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-docsnoarch | Advisory build | 14.17.5-1.el7 | RHSA-2021:3280 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-nodemonnoarch | Advisory build | 2.0.3-5.el7 | RHSA-2021:3280 |
| Red Hat Enterprise Linux | RHEL-7 | rh-nodejs14-nodejs-nodemonsrc | Advisory build | 2.0.3-5.el7 | RHSA-2021:3280 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NodeJS | Node | 4.0 to < 4.* (affected · semver)5.0 to < 5.* (affected · semver)6.0 to < 6.* (affected · semver)7.0 to < 7.* (affected · semver)8.0 to < 8.* (affected · semver)9.0 to < 9.* (affected · semver)10.0 to < 10.* (affected · semver)11.0 to < 11.* (affected · semver)12.0 to < 12.22.5 (affected · semver)13.0 to < 13.* (affected · semver)14.0 to < 14.17.5 (affected · semver)15.0 to < 15.* (affected · semver)16.0 to < 16.6.2 (affected · semver)Default: unaffected | hackerone · cna |
Weaknesses
1- CWE-170 Improper Null Termination (CWE-170)
References
9- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://hackerone.com/reports/1178337
- https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/
- GLSA-202401-02 https://security.gentoo.org/glsa/202401-02
- https://security.netapp.com/advisory/ntap-20210923-0001/
- https://security.netapp.com/advisory/ntap-20211022-0003/
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
Provider assertions
3hackerone · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bc0448bb14409e16d424afe9aa002caaa88d6fe4ec3124858556fd83a31dfd6f
- Ingested
- 23 Sep 2026, 07:52:45 UTC
- Source record
- Official CVE record