Skip to content
Heist/ feed
Back to feed
Medium

node-fetch — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2022-2596

Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10.

Products
node-fetch
Affected versions
1.7.3-1, 1.7.3-1ubuntu0.1~esm1, 1.7.3-2, 1.7.3-2ubuntu0.1, 2.6.1-5, 2.6.1-6, 2.6.1-7, 2.6.7+~2.5.12-1, 3.3.0+~cs11.4.11-2, 3.3.2+~cs11.4.11-1, 3.3.2+~cs11.4.11-3
Fixed versions
Not specified
CVEs
CVE-2022-2596
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:45 UTC · Revision 1

Source evidence

UBUNTU-CVE-2022-2596

core-osv · Original source

Published 1 Aug 2022, 15:15 UTC

Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10.

osv:UBUNTU-CVE-2022-2596

node-fetch

Fixed versions: Not specified

node-fetch

Fixed versions: Not specified

node-fetch

Fixed versions: Not specified

node-fetch

Fixed versions: Not specified

node-fetch

Fixed versions: Not specified

node-fetch

Fixed versions: Not specified

node-fetch

Fixed versions: Not specified

Complete source record
{
  "id": "f6042920c914cbf2564cc2db5959aea9867f25c6e79bd7f65ac6225726deacec",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-2596",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2022-2596",
    "summary": "Inefficient Regular Expression Complexity in GitHub repository node-fetch/node-fetch prior to 3.2.10.",
    "evidence": "osv:UBUNTU-CVE-2022-2596",
    "products": [
      {
        "name": {
          "value": "node-fetch",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.7.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.7.3-1ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-fetch",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.7.3-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.7.3-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.7.3-2ubuntu0.1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-fetch",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.6.1-5",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.6.1-6",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.6.1-7",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.6.7+~2.5.12-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-fetch",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.3.0+~cs11.4.11-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.3.2+~cs11.4.11-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-fetch",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.3.2+~cs11.4.11-3",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-fetch",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.3.2+~cs11.4.11-3",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-fetch",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.3.2+~cs11.4.11-3",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2022-2596",
      "aliases": [
        "UBUNTU-CVE-2022-2596"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-fetch",
            "purl": "pkg:deb/ubuntu/node-fetch?arch=source&distro=esm-apps%2Fbionic",
            "ecosystem": "Ubuntu:Pro:18.04:LTS"
          },
          "versions": [
            "1.7.3-1",
            "1.7.3-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2596.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-fetch",
                "binary_version": "1.7.3-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-fetch",
            "purl": "pkg:deb/ubuntu/node-fetch?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.7.3-1",
            "1.7.3-2",
            "1.7.3-2ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2596.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-fetch",
                "binary_version": "1.7.3-2ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-fetch",
            "purl": "pkg:deb/ubuntu/node-fetch?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "2.6.1-5",
            "2.6.1-6",
            "2.6.1-7",
            "2.6.7+~2.5.12-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2596.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-fetch",
                "binary_version": "2.6.7+~2.5.12-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-fetch",
            "purl": "pkg:deb/ubuntu/node-fetch?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.3.0+~cs11.4.11-2",
            "3.3.2+~cs11.4.11-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2596.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-fetch",
                "binary_version": "3.3.2+~cs11.4.11-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-fetch",
            "purl": "pkg:deb/ubuntu/node-fetch?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "3.3.2+~cs11.4.11-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2596.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-fetch",
                "binary_version": "3.3.2+~cs11.4.11-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-fetch",
            "purl": "pkg:deb/ubuntu/node-fetch?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.3.2+~cs11.4.11-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2596.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-fetch",
                "binary_version": "3.3.2+~cs11.4.11-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-fetch",
            "purl": "pkg:deb/ubuntu/node-fetch?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.3.2+~cs11.4.11-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2596.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-fetch",
                "binary_version": "3.3.2+~cs11.4.11-3"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:02.363508784Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-2596"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2022-2596",
        "https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7/",
        "https://github.com/node-fetch/node-fetch/commit/28802387292baee467e042e168d92597b5bbbe3d",
        "https://huntr.dev/bounties/a7e6a136-0a4b-46c4-ad20-802f1dd60bf7",
        "https://www.cve.org/CVERecord?id=CVE-2022-2596"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-2596",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354650,
  "published_at": "2022-08-01T15:15:00+00:00"
}