Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-32212

A OS Command Injection vulnerability exists in Node.js versions <14.20.0, <16.20.0, <18.5.0 due to an insufficient IsAllowedHost check that can easily be bypassed because IsIPAddress does not properly check if an IP address is invalid before making DBS requests allowing rebinding attacks.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-32212
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 16:19 UTC · Revision 1

Source evidence

CVE-2022-32212

core-osv · Original source

Published 14 Jul 2022, 00:00 UTC

A OS Command Injection vulnerability exists in Node.js versions <14.20.0, <16.20.0, <18.5.0 due to an insufficient IsAllowedHost check that can easily be bypassed because IsIPAddress does not properly check if an IP address is invalid before making DBS requests allowing rebinding attacks.

osv:CVE-2022-32212
Complete source record
{
  "id": "f4d33441da05a68a008fd156feec63820fbbc32347e37a30ccaab5fffdb1e8a3",
  "url": "https://osv.dev/vulnerability/CVE-2022-32212",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-32212",
    "summary": "A OS Command Injection vulnerability exists in Node.js versions <14.20.0, <16.20.0, <18.5.0 due to an insufficient IsAllowedHost check that can easily be bypassed because IsIPAddress does not properly check if an IP address is invalid before making DBS requests allowing rebinding attacks.",
    "evidence": "osv:CVE-2022-32212",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-32212",
      "aliases": [
        "BIT-node-2022-32212",
        "BIT-node-min-2022-32212",
        "CVE-2022-32212"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nodejs/node",
              "type": "GIT",
              "events": [
                {
                  "introduced": "73aa21658dfa6a22c06451d080152b32b1f98dbe"
                },
                {
                  "last_affected": "354b6a93bd1d66f1833489d6fe01a2b0e8f6aff9"
                },
                {
                  "introduced": "c1da528bc25c9cc5a8240a7b4f136f5968f6e113"
                },
                {
                  "fixed": "c11b8215bd6388854efcc9302a7383c8c63b8127"
                },
                {
                  "introduced": "7162e686b18d22b4385fa5c04274fb04dbd810c7"
                },
                {
                  "last_affected": "49415500bb1bf51a1fade5ea2d03f3988ecabc25"
                },
                {
                  "introduced": "40ecd5601193c316e62e9216e8a4259130686208"
                },
                {
                  "fixed": "6b06e89c7dfccec6792008302af1cee57649445c"
                },
                {
                  "introduced": "49a77a5a996a49e8cb728eed42e55a7c1a9eef6e"
                },
                {
                  "fixed": "0a18e136b4a1e860bb2befcbd1f78661ed5fb5e7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "14.0.0"
                      },
                      {
                        "last_affected": "14.14.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*",
                    "range": [
                      {
                        "introduced": "14.15.0"
                      },
                      {
                        "fixed": "14.20.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "16.0.0"
                      },
                      {
                        "last_affected": "16.12.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*",
                    "range": [
                      {
                        "introduced": "16.13.0"
                      },
                      {
                        "fixed": "16.17.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "18.0.0"
                      },
                      {
                        "fixed": "18.5.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v16.17.0",
            "v14.20.0",
            "v16.16.0",
            "v18.4.0",
            "v18.3.0",
            "v16.15.1",
            "v14.19.3",
            "v18.2.0",
            "v14.19.2",
            "v18.1.0",
            "v16.15.0",
            "v18.0.0",
            "v16.14.2",
            "v14.19.1",
            "v16.14.1",
            "v16.14.0",
            "v14.19.0",
            "v14.18.3",
            "v16.13.2",
            "v16.13.1",
            "v14.18.2",
            "v16.13.0",
            "v16.12.0",
            "v16.11.1",
            "v14.18.1",
            "v16.11.0",
            "v14.18.0",
            "v16.10.0",
            "v16.9.1",
            "v16.9.0",
            "v14.17.6",
            "v16.8.0",
            "v16.7.0",
            "v16.6.2",
            "v14.17.5",
            "v16.6.1",
            "v16.6.0",
            "v14.17.4",
            "v16.5.0",
            "v16.4.2",
            "v14.17.3",
            "v14.17.2",
            "v16.4.1",
            "v16.4.0",
            "v14.17.1",
            "v16.3.0",
            "v16.2.0",
            "v14.17.0",
            "v16.1.0",
            "v16.0.0",
            "v14.16.1",
            "v14.16.0",
            "v14.15.5",
            "v14.15.4",
            "v14.15.3",
            "v14.15.2",
            "v14.15.1",
            "v14.15.0",
            "v14.14.0",
            "v14.13.1",
            "v14.13.0",
            "v14.12.0",
            "v14.11.0",
            "v14.10.1",
            "v14.10.0",
            "v14.9.0",
            "v14.8.0",
            "v14.7.0",
            "v14.6.0",
            "v14.5.0",
            "v14.4.0",
            "v14.3.0",
            "v14.2.0",
            "v14.1.0",
            "v14.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-32212.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.292375768Z",
      "provider": "osv",
      "references": [
        "https://hackerone.com/reports/1632921",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32212.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-32212"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-284"
        ],
        "cna_assigner": "hackerone",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0"
                  },
                  {
                    "fixed": "4.*"
                  },
                  {
                    "introduced": "5.0"
                  },
                  {
                    "fixed": "5.*"
                  },
                  {
                    "introduced": "6.0"
                  },
                  {
                    "fixed": "6.*"
                  },
                  {
                    "introduced": "7.0"
                  },
                  {
                    "fixed": "7.*"
                  },
                  {
                    "introduced": "8.0"
                  },
                  {
                    "fixed": "8.*"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "fixed": "9.*"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "fixed": "10.*"
                  },
                  {
                    "introduced": "11.0"
                  },
                  {
                    "fixed": "11.*"
                  },
                  {
                    "introduced": "12.0"
                  },
                  {
                    "fixed": "12.*"
                  },
                  {
                    "introduced": "13.0"
                  },
                  {
                    "fixed": "13.*"
                  },
                  {
                    "introduced": "14.0"
                  },
                  {
                    "fixed": "14.20.1"
                  },
                  {
                    "introduced": "15.0"
                  },
                  {
                    "fixed": "15.*"
                  },
                  {
                    "introduced": "16.0"
                  },
                  {
                    "fixed": "16.17.1"
                  },
                  {
                    "introduced": "17.0"
                  },
                  {
                    "fixed": "17.*"
                  },
                  {
                    "introduced": "18.0"
                  },
                  {
                    "fixed": "18.9.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/32xxx/CVE-2022-32212.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-32212",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 497291,
  "published_at": "2022-07-14T00:00:00+00:00"
}