Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-22931

published

nodejs: Improper handling of untypical characters in domain names

Title from Red Hat VEX

Published
16 Aug 2021, 00:00:00 UTC
Updated
30 Apr 2025, 22:24:34 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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 / vendorReleasePackage / productPublisher statusFixed buildSource
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.

en · hackerone · cna

Vendor advisories explicitly linked to this CVE.

62

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.

Affected vendor and product assertions
VendorProductVersion statusSource
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) (hackerone · cna)

References

9

Provider assertions

3

hackerone · 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

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected