ADVISORIES

Vulnerability

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 dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.

31 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALPINE-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 dns library which can…

    CVE-2021-22931 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2021-22931
    CVE-2021-22931 Alpine Updated 18 November 2026
  • ALSA-2021:3623

    Important: nodejs:12 security and bug fix update

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 AlmaLinux Updated 29 October 2026
  • ALSA-2021:3666

    Important: nodejs:14 security and bug fix update

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 AlmaLinux Updated 29 October 2026
  • AZL-32282

    CVE-2021-22931 affecting package python-gevent for versions less than 21.1.2-3

    CVE-2021-22931 Azure Linux Updated 21 April 2026
  • AZL-6743

    CVE-2021-22931 affecting package nodejs for versions less than 16.14.0-1

    CVE-2021-22931 Azure Linux Updated 21 April 2026
  • CNA-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 dns library which can…

    CVE-2021-22931 Node.js Updated 30 April 2025
  • ELSA-2021-3623

    ELSA-2021-3623: nodejs:12 security and bug fix update (IMPORTANT)

    Important CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 Oracle Linux Updated 22 September 2021
  • ELSA-2021-3666

    ELSA-2021-3666: nodejs:14 security and bug fix update (IMPORTANT)

    Important CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 Oracle Linux Updated 27 September 2021
  • RHSA-2021:3280

    Red Hat Security Advisory: rh-nodejs14-nodejs and rh-nodejs14-nodejs-nodemon security update

    CVE-2020-28469CVE-2020-7788CVE-2021-22930CVE-2021-22931 Red Hat Updated 23 November 2026
  • RHSA-2021:3281

    Red Hat Security Advisory: rh-nodejs12-nodejs and rh-nodejs12-nodejs-nodemon security update

    CVE-2020-28469CVE-2020-7788CVE-2021-22930CVE-2021-22931 Red Hat Updated 23 November 2026
  • RHSA-2021:3623

    Red Hat Security Advisory: nodejs:12 security and bug fix update

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 Red Hat Updated 23 November 2026
  • RHSA-2021:3638

    Red Hat Security Advisory: nodejs:12 security and bug fix update

    CVE-2021-22918CVE-2021-22930CVE-2021-22931CVE-2021-22939 Red Hat Updated 23 November 2026
  • RHSA-2021:3639

    Red Hat Security Advisory: nodejs:12 security and bug fix update

    CVE-2021-22918CVE-2021-22930CVE-2021-22931CVE-2021-22939 Red Hat Updated 23 November 2026
  • RHSA-2021:3666

    Red Hat Security Advisory: nodejs:14 security and bug fix update

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 Red Hat Updated 23 November 2026
  • RLSA-2021:3623

    Important: nodejs:12 security and bug fix update

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 Rocky Linux Updated 5 February 2026
  • RLSA-2021:3666

    Important: nodejs:14 security and bug fix update

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2021:2823-1

    Security update for nodejs10

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-3672 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2824-1

    Security update for nodejs12

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2875-1

    Security update for nodejs12

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2953-1

    Security update for nodejs10

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-3672 SUSE Updated 4 February 2026
  • SUSE-SU-2021:3184-1

    Security update for nodejs14

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 SUSE Updated 4 February 2026
  • SUSE-SU-2021:3211-1

    Security update for nodejs14

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 SUSE Updated 4 February 2026
  • SUSEVEX-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 dns library which can…

    Important CVE-2021-22931 SUSE Updated 2 November 2026
  • UBUNTU-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 dns library which can…

    CVE-2021-22931 Ubuntu Updated 16 July 2025
  • openSUSE-SU-2021:1214-1

    Security update for nodejs12

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:1239-1

    Security update for nodejs10

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-3672 openSUSE Updated 7 May 2025
  • openSUSE-SU-2021:1313-1

    Security update for nodejs14

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:2875-1

    Security update for nodejs12

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:2953-1

    Security update for nodejs10

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-3672 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:3211-1

    Security update for nodejs14

    CVE-2021-22930CVE-2021-22931CVE-2021-22939CVE-2021-22940 openSUSE Updated 4 February 2026

References