Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-27191

The get-ip-range package before 4.0.0 for Node.js is vulnerable to denial of service (DoS) if the range is untrusted input. An attacker could send a large range (such as 128.0.0.0/1) that causes resource exhaustion.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-27191
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:42 UTC · Revision 1

Source evidence

CVE-2021-27191

core-osv · Original source

Published 11 Feb 2021, 18:15 UTC

The get-ip-range package before 4.0.0 for Node.js is vulnerable to denial of service (DoS) if the range is untrusted input. An attacker could send a large range (such as 128.0.0.0/1) that causes resource exhaustion.

osv:CVE-2021-27191
Complete source record
{
  "id": "b17de4acaf4950264e5c61ca92470f5c784eca5585d1b03549cfe61032e83c1b",
  "url": "https://osv.dev/vulnerability/CVE-2021-27191",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-27191",
    "summary": "The get-ip-range package before 4.0.0 for Node.js is vulnerable to denial of service (DoS) if the range is untrusted input. An attacker could send a large range (such as 128.0.0.0/1) that causes resource exhaustion.",
    "evidence": "osv:CVE-2021-27191",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-27191",
      "aliases": [
        "CVE-2021-27191",
        "GHSA-6q4w-3wp4-q5wf"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/joescho/get-ip-range",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "98ca22b815c77273cbab259811ab0976118e13b6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "fixed": "98ca22b815c77273cbab259811ab0976118e13b6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27191.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:35.299039054Z",
      "provider": "osv",
      "references": [
        "https://security.netapp.com/advisory/ntap-20210319-0002/",
        "https://www.npmjs.com/package/get-ip-range",
        "https://github.com/JoeScho/get-ip-range/commit/98ca22b815c77273cbab259811ab0976118e13b6",
        "https://advisory.checkmarx.net/advisory/CX-2021-4304"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:get-ip-range_project:get-ip-range:*:*:*:*:*:node.js:*:*"
            ],
            "vendor_product": "get-ip-range_project:get-ip-range",
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "4.0.0"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "4.0.0"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-27191",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385674,
  "published_at": "2021-02-11T18:15:18.347+00:00"
}