CVEfocus › CVE database › CVE-2022-2596

CVE-2022-2596Inefficient Regular Expression Complexity in node-fetch/node-fetch

CVSS 5.9 MediumEPSS 1.2% (higher than 67% of CVEs)Published 2022-08-01Updated 2026-10-07Assigner: @huntrdev

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

CWE-1333

What to do

Fixed builds are available from npm: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
2Fix pending
3Under investigation
2Will not fix
130Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-fetchFix pendingUBUNTU-CVE-2022-2596
Ubuntu 26.04node-fetchUnder investigationUBUNTU-CVE-2022-2596
Ubuntu 25.10node-fetchWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-2596
Ubuntu 24.04node-fetchUnder investigationUBUNTU-CVE-2022-2596
Ubuntu 22.04node-fetchUnder investigationUBUNTU-CVE-2022-2596
Ubuntu 20.04node-fetchWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2022-2596
Ubuntu 18.04node-fetchFix pendingUBUNTU-CVE-2022-2596
Red Hat Enterprise Linux 9aspnetcore-runtime-6.0Not affected
Red Hat Enterprise Linux 9aspnetcore-targeting-pack-6.0Not affected
Red Hat Enterprise Linux 9cargoNot affected
Red Hat Enterprise Linux 9clippyNot affected
Red Hat Enterprise Linux 9cockpit-composerNot affected
Red Hat Enterprise Linux 9dotnet-apphost-pack-6.0Not affected
Red Hat Enterprise Linux 9dotnet-hostNot affected
Red Hat Enterprise Linux 9dotnet-hostfxr-6.0Not affected
Red Hat Enterprise Linux 9dotnet-runtime-6.0Not affected
Red Hat Enterprise Linux 9dotnet-sdk-6.0Not affected
Red Hat Enterprise Linux 9dotnet-sdk-6.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 9dotnet-targeting-pack-6.0Not affected
Red Hat Enterprise Linux 9dotnet-templates-6.0Not affected
Red Hat Enterprise Linux 9dotnet6.0Not affected
Red Hat Enterprise Linux 9firefoxNot affected
Red Hat Enterprise Linux 9firefox-x11Not affected
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9gjs-develNot affected
Red Hat Enterprise Linux 9grafanaNot affected
Red Hat Enterprise Linux 9grafana-selinuxNot affected
Red Hat Enterprise Linux 9netstandard-targeting-pack-2.1Not affected
Red Hat Enterprise Linux 9polkitNot affected
Red Hat Enterprise Linux 9polkit-develNot affected
Red Hat Enterprise Linux 9polkit-docsNot affected
Red Hat Enterprise Linux 9polkit-libsNot affected
Red Hat Enterprise Linux 9rustNot affected
Red Hat Enterprise Linux 9rust-analysisNot affected
Red Hat Enterprise Linux 9rust-analyzerNot affected
Red Hat Enterprise Linux 9rust-debugger-commonNot affected
Red Hat Enterprise Linux 9rust-docNot affected
Red Hat Enterprise Linux 9rust-gdbNot affected
Red Hat Enterprise Linux 9rust-lldbNot affected
Red Hat Enterprise Linux 9rust-srcNot affected
Red Hat Enterprise Linux 9rust-std-staticNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 9rust-toolsetNot affected
Red Hat Enterprise Linux 9rustfmtNot affected
Red Hat Enterprise Linux 9thunderbirdNot affected
Red Hat Enterprise Linux 8389-ds-baseNot affected
Red Hat Enterprise Linux 8389-ds-base-develNot affected
Red Hat Enterprise Linux 8389-ds-base-legacy-toolsNot affected
Red Hat Enterprise Linux 8389-ds-base-libsNot affected
Red Hat Enterprise Linux 8389-ds-base-snmpNot affected
Red Hat Enterprise Linux 8aspnetcore-runtime-6.0Not affected
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-6.0Not affected
Red Hat Enterprise Linux 8cargoNot affected
Red Hat Enterprise Linux 8cargo-docNot affected
Red Hat Enterprise Linux 8clippyNot affected
Red Hat Enterprise Linux 8cockpitNot affected
Red Hat Enterprise Linux 8cockpit-389-dsNot affected
Red Hat Enterprise Linux 8cockpit-bridgeNot affected
Red Hat Enterprise Linux 8cockpit-composerNot affected
Red Hat Enterprise Linux 8cockpit-dashboardNot affected
Red Hat Enterprise Linux 8cockpit-docNot affected
Red Hat Enterprise Linux 8cockpit-machinesNot affected
Red Hat Enterprise Linux 8cockpit-packagekitNot affected
Red Hat Enterprise Linux 8cockpit-pcpNot affected
Red Hat Enterprise Linux 8cockpit-podmanNot affected
Red Hat Enterprise Linux 8cockpit-storagedNot affected
Red Hat Enterprise Linux 8cockpit-systemNot affected
Red Hat Enterprise Linux 8cockpit-wsNot affected
Red Hat Enterprise Linux 8dnf-plugin-subscription-managerNot affected
Red Hat Enterprise Linux 8dotnetNot affected
Red Hat Enterprise Linux 8dotnet-apphost-pack-6.0Not affected
Red Hat Enterprise Linux 8dotnet-hostNot affected
Red Hat Enterprise Linux 8dotnet-hostfxr-6.0Not affected
Red Hat Enterprise Linux 8dotnet-runtime-6.0Not affected
Red Hat Enterprise Linux 8dotnet-sdk-6.0Not affected
Red Hat Enterprise Linux 8dotnet-sdk-6.0-source-built-artifactsNot affected
Red Hat Enterprise Linux 8dotnet-targeting-pack-6.0Not affected
Red Hat Enterprise Linux 8dotnet-templates-6.0Not affected
Red Hat Enterprise Linux 8dotnet6.0Not affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 8netstandard-targeting-pack-2.1Not affected
Red Hat Enterprise Linux 8python3-cloud-whatNot affected
Red Hat Enterprise Linux 8python3-lib389Not affected
Red Hat Enterprise Linux 8python3-subscription-manager-rhsmNot affected
Red Hat Enterprise Linux 8python3-syspurposeNot affected
Red Hat Enterprise Linux 8rhsm-gtkNot affected
Red Hat Enterprise Linux 8rhsm-iconsNot affected
Red Hat Enterprise Linux 8rlsNot affected
Red Hat Enterprise Linux 8rustNot affected
Red Hat Enterprise Linux 8rust-analysisNot affected
Red Hat Enterprise Linux 8rust-analyzerNot affected
Red Hat Enterprise Linux 8rust-debugger-commonNot affected
Red Hat Enterprise Linux 8rust-docNot affected
Red Hat Enterprise Linux 8rust-gdbNot affected
Red Hat Enterprise Linux 8rust-lldbNot affected
Red Hat Enterprise Linux 8rust-srcNot affected
Red Hat Enterprise Linux 8rust-std-staticNot affected
Red Hat Enterprise Linux 8rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 8rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 8rust-toolsetNot affected
Red Hat Enterprise Linux 8rustfmtNot affected
Red Hat Enterprise Linux 8subscription-managerNot affected
Red Hat Enterprise Linux 8subscription-manager-cockpitNot affected
Red Hat Enterprise Linux 8subscription-manager-initial-setup-addonNot affected
Red Hat Enterprise Linux 8subscription-manager-migrationNot affected
Red Hat Enterprise Linux 8subscription-manager-plugin-ostreeNot affected
Red Hat Enterprise Linux 8subscription-manager-rhsm-certificatesNot affected
Red Hat Enterprise Linux 7firefoxNot affected
Red Hat Enterprise Linux 7python-syspurposeNot affected
Red Hat Enterprise Linux 7rhsm-gtkNot affected
Red Hat Enterprise Linux 7subscription-managerNot affected
Red Hat Enterprise Linux 7subscription-manager-cockpitNot affected
Red Hat Enterprise Linux 7subscription-manager-guiNot affected
Red Hat Enterprise Linux 7subscription-manager-initial-setup-addonNot affected
Red Hat Enterprise Linux 7subscription-manager-migrationNot affected
Red Hat Enterprise Linux 7subscription-manager-plugin-containerNot affected
Red Hat Enterprise Linux 7subscription-manager-plugin-ostreeNot affected
Red Hat Enterprise Linux 7subscription-manager-rhsmNot affected
Red Hat Enterprise Linux 7subscription-manager-rhsm-certificatesNot affected
Red Hat Enterprise Linux 6firefoxNot affected
npm librarynode-fetchFixed3.2.10GHSA-vp56-6g26-6827

What the vendor says

As published in the CVE record by @huntrdev, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.