CVE-2024-30261 json
Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
published 2024-04-04 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-1176 , GHSA-9qxr-qj54-h672
- cvss
- 2.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
Undici is an HTTP/1.1 client, written from scratch for Node.js. An attacker can alter the `integrity` option passed to `fetch()`, allowing `fetch()` to accept requests as valid even if they have been tampered. This vulnerability was patched in version(s) 5.28.4 and 6.11.1.
Patch / fix
- npm undici 5.28.4, 6.11.1
- nodejs undici 5.28.4, 6.11.1
- node-undici Debian 14, Debian 13 5.28.4+dfsg1+~cs23.12.11-1
debian advisories DEBIAN-CVE-2024-30261
- nodejs16 SLE Module for Web and Scripting 12 16.20.2-8.45.1
- nodejs18 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Module for Web and Scripting 15 SP5 +4 more 18.20.1-150400.9.21.3
- nodejs18 SLE Module for Web and Scripting 12 18.20.1-8.21.1
- nodejs20 SLE Module for Web and Scripting 15 SP5, openSUSE Leap 15.5 20.12.1-150500.11.9.2
suse advisories SUSE-SU-2024:1836-1SUSE-SU-2024:1309-1SUSE-SU-2024:1307-1SUSE-SU-2024:1301-1
- nodejs-electron openSUSE Tumbleweed 28.2.10-3.1
opensuse advisories openSUSE-SU-2024:13855-1
- nodejs Azure Linux 3.0 20.14.0-1
- nodejs18 CBL-Mariner 2.0 18.20.2-1
azure linux advisories AZL-39773AZL-39819
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-30261 updated cvss 2.6
nodejs-undici: fetch() with integrity option is too lax when algorithm is specified but hash value is in incorrect
-
Red Hat JBoss Enterprise Application Platform 8 org.keycloak-keycloak-parent org.keycloak-keycloak-parentaffected: workaround, no fix available “Fix deferred”
-
Red Hat Developer Hub (RHDH) 1.4 rhdhfixed: vendor fix RHSA-2025:1931
-
Red Hat OpenShift Dev Spaces 3 devspaces/dashboard-rhel8 3.16-27fixed: vendor fix RHSA-2024:6667
-
Red Hat Developer Hub (RHDH) 1.4 rhdh Red Hat Enterprise Linux 10 nodejs-undici Red Hat OpenShift Dev Spaces 3 devspaces/udi-rhel8 3.16-6, devspaces/idea-rhel8 3.16-3, devspaces/code-rhel8 3.16-20, devspaces/server-rhel8 3.16-14, devspaces/traefik-rhel8 3.16-2, devspaces/configbump-rhel8 3.16-4, +6 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/2377760 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.6 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 2.6 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 3.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | undici | <5.28.4 >=6.0.0, <6.11.1 |
5.28.4 6.11.1 |
Affected products
- nodejs undici
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
github.com
/nodejs/undici/commit/2b39440bd9ded841c93dd72138f3b1763ae26055
web, patch
-
github.com
/nodejs/undici/commit/d542b8cd39ec1ba303f038ea26098c3f355974f3
web, patch
-
hackerone.com
/reports/2377760
web, exploit, issue-tracking
-
github.com
/nodejs/undici/security/advisories/GHSA-9qxr-qj54-h672
web, vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/P6Q4RGETHVYVHDIQGTJGU5AV6NJEI67E/
product
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/HQVHWAS6WDXXIU7F72XI55VZ2LTZUB33/
product
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/NC3V3HFZ5MOJRZDY5ZELL6REIRSPFROJ/
product
- security.netapp.com /advisory/ntap-20240905-0008/
-
nvd.nist.gov
/vuln/detail/CVE-2024-30261
advisory
-
github.com
/nodejs/undici
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/HQVHWAS6WDXXIU7F72XI55VZ2LTZUB33
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/NC3V3HFZ5MOJRZDY5ZELL6REIRSPFROJ
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/P6Q4RGETHVYVHDIQGTJGU5AV6NJEI67E
web
-
security.netapp.com
/advisory/ntap-20240905-0008
web
Sources
- CVE List CVE-2024-30261
- GitHub Advisory GHSA-9qxr-qj54-h672
- NVD CVE-2024-30261
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.