{
  "cveId": "CVE-2021-22931",
  "url": "https://patchblox.com/security/cve/CVE-2021-22931",
  "summary": "CVE-2021-22931 is fixed in 10 products on 2 platforms, first by Node.js 12 12.22.5, released August 11, 2021. It is not reported as exploited. Patch Radar priority: High.",
  "title": "Node.js 14 and 2 others: Improper Null Termination (CWE-170)",
  "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.",
  "published": "2021-08-16T19:15:13Z",
  "severity": "Important",
  "cvss": 9.8,
  "cwe": "CWE-170: Improper Null Termination (CWE-170)",
  "epss": 0.21952,
  "epssPercentile": 0.97672,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://nvd.nist.gov/vuln/detail/CVE-2021-22931",
  "fixes": [
    {
      "platform": "windows-app",
      "product": "Node.js 12",
      "fixedVersion": "12.22.5",
      "fix": "Node.js 12 12.22.5",
      "url": "https://patchblox.com/security/fix/windows-app/openjs.nodejs.12-12.22.5",
      "released": "2021-08-11T00:00:00Z"
    },
    {
      "platform": "windows-app",
      "product": "Node.js 14",
      "fixedVersion": "14.17.5",
      "fix": "Node.js 14 14.17.5",
      "url": "https://patchblox.com/security/fix/windows-app/openjs.nodejs.14-14.17.5",
      "released": "2021-08-11T00:00:00Z"
    },
    {
      "platform": "windows-app",
      "product": "Node.js 16",
      "fixedVersion": "16.6.2",
      "fix": "Node.js 16 16.6.2",
      "url": "https://patchblox.com/security/fix/windows-app/openjs.nodejs.16-16.6.2",
      "released": "2021-08-11T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nodejs",
      "release": "RHEL 8",
      "fixedVersion": "1:14.17.5-1.module\u002Bel8.4.0\u002B12247\u002Be2879e58",
      "fix": "RHSA-2021:3666",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nodejs",
      "release": "ol 8",
      "fixedVersion": "1:14.17.5-1.module\u002Bel8.4.0\u002B20313\u002Bf90c2973",
      "fix": "ELSA-2021-3666",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nodejs-devel",
      "release": "RHEL 8",
      "fixedVersion": "1:14.17.5-1.module\u002Bel8.4.0\u002B12247\u002Be2879e58",
      "fix": "RHSA-2021:3666",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nodejs-devel",
      "release": "ol 8",
      "fixedVersion": "1:14.17.5-1.module\u002Bel8.4.0\u002B20313\u002Bf90c2973",
      "fix": "ELSA-2021-3666",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nodejs-docs",
      "release": "RHEL 8",
      "fixedVersion": "1:14.17.5-1.module\u002Bel8.4.0\u002B12247\u002Be2879e58",
      "fix": "RHSA-2021:3666",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nodejs-docs",
      "release": "ol 8",
      "fixedVersion": "1:14.17.5-1.module\u002Bel8.4.0\u002B20313\u002Bf90c2973",
      "fix": "ELSA-2021-3666",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nodejs-full-i18n",
      "release": "RHEL 8",
      "fixedVersion": "1:14.17.5-1.module\u002Bel8.4.0\u002B12247\u002Be2879e58",
      "fix": "RHSA-2021:3666",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nodejs-full-i18n",
      "release": "ol 8",
      "fixedVersion": "1:14.17.5-1.module\u002Bel8.4.0\u002B20313\u002Bf90c2973",
      "fix": "ELSA-2021-3666",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nodejs-nodemon",
      "release": "RHEL 8",
      "fixedVersion": "0:2.0.3-1.module\u002Bel8.3.0\u002B6519\u002B9f98ed83",
      "fix": "RHSA-2021:3666",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nodejs-nodemon",
      "release": "ol 8",
      "fixedVersion": "0:2.0.3-1.module\u002Bel8.3.0\u002B7818\u002B6cd30d85",
      "fix": "ELSA-2021-3666",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nodejs-packaging",
      "release": "RHEL 8",
      "fixedVersion": "0:23-3.module\u002Bel8.3.0\u002B6519\u002B9f98ed83",
      "fix": "RHSA-2021:3666",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "nodejs-packaging",
      "release": "ol 8",
      "fixedVersion": "0:23-3.module\u002Bel8.3.0\u002B7818\u002B6cd30d85",
      "fix": "ELSA-2021-3666",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "npm",
      "release": "RHEL 8",
      "fixedVersion": "1:6.14.14-1.14.17.5.1.module\u002Bel8.4.0\u002B12247\u002Be2879e58",
      "fix": "RHSA-2021:3666",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "npm",
      "release": "ol 8",
      "fixedVersion": "1:6.14.14-1.14.17.5.1.module\u002Bel8.4.0\u002B20313\u002Bf90c2973",
      "fix": "ELSA-2021-3666",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-3666",
      "released": "2021-09-27T00:00:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T01:18:40Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}