CVE-2024-30261
published 2024-04-04CVE-2024-30261: 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…
PriorityP415low3.5CVSS 3.1
AVNACLPRLUIRSUCNILAN
EPSS
0.80%
52.4th percentile
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.
Affected
17 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | node-undici | < node-undici 5.28.4+dfsg1+~cs23.12.11-1 (forky) | node-undici 5.28.4+dfsg1+~cs23.12.11-1 (forky) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | azl3_nodejs_20.10.0-2_on_azure_linux_3.0 | — | — |
| msrc | azl3_nodejs_20.14.0-1_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| msrc | cbl2_nodejs18_18.18.2-7_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_nodejs18_18.20.2-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| nodejs | undici | < 5.28.4 | 5.28.4 |
| nodejs | undici | — | — |
| nodejs | undici | >= 0 < 5.28.4 | 5.28.4 |
| nodejs | undici | >= 6.0.0 < 6.11.1 | 6.11.1 |
| nodejs | undici | >= 6.0.0 < 6.11.1 | 6.11.1 |
CVSS provenance
nvdv3.13.5LOWCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
osv3.5LOW
vendor_msrc3.5LOW
vendor_debian2.6LOW
vendor_redhat2.6LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
ghsa·2024-04-04
CVE-2024-30261 [LOW] CWE-284 Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
### Impact
If an attacker can alter the `integrity` option passed to `fetch()`, they can let `fetch()` accept requests as valid even if they have been tampered.
### Patches
Fixed in https://github.com/nodejs/undici/commit/d542b8cd39ec1ba303f038ea26098c3f355974f3.
Fixes has been released in v5.28.4 and v6.11.1.
### Workarounds
Ensure that `integrity` cannot be tampered with.
### References
https://hackerone.com/reports/2377760
OSV
Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
osv·2024-04-04
CVE-2024-30261 [LOW] Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
### Impact
If an attacker can alter the `integrity` option passed to `fetch()`, they can let `fetch()` accept requests as valid even if they have been tampered.
### Patches
Fixed in https://github.com/nodejs/undici/commit/d542b8cd39ec1ba303f038ea26098c3f355974f3.
Fixes has been released in v5.28.4 and v6.11.1.
### Workarounds
Ensure that `integrity` cannot be tampered with.
### References
https://hackerone.com/reports/2377760
OSV
CVE-2024-30261: Undici is an HTTP/1
osv·2024-04-04·CVSS 3.5
CVE-2024-30261 [LOW] CVE-2024-30261: Undici is an HTTP/1
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.
Microsoft
Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
vendor_msrc·2024-04-09·CVSS 3.5
CVE-2024-30261 [LOW] CWE-284 Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
GitHub_M: GitHub_M
Customer Action Required: Yes
Re
Red Hat
nodejs-undici: fetch() with integrity option is too lax when algorithm is specified but hash value is in incorrect
vendor_redhat·2024-04-04·CVSS 2.6
CVE-2024-30261 [LOW] CWE-284 nodejs-undici: fetch() with integrity option is too lax when algorithm is specified but hash value is in incorrect
nodejs-undici: fetch() with integrity option is too lax when algorithm is specified but hash value is in incorrect
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.
A flaw was found in the nodejs-undici package. This issue may allow an attacker to alter the integrity option passed to fetch(), allowing fetch() to accept requests as valid even if they have been tampered with.
Mitigation: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicabili
Debian
CVE-2024-30261: node-undici - Undici is an HTTP/1.1 client, written from scratch for Node.js. An attacker can ...
vendor_debian·2024·CVSS 2.6
CVE-2024-30261 [LOW] CVE-2024-30261: node-undici - Undici is an HTTP/1.1 client, written from scratch for Node.js. An attacker can ...
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.
Scope: local
bookworm: open
forky: resolved (fixed in 5.28.4+dfsg1+~cs23.12.11-1)
sid: resolved (fixed in 5.28.4+dfsg1+~cs23.12.11-1)
trixie: resolved (fixed in 5.28.4+dfsg1+~cs23.12.11-1)
No detection rules found.
No public exploits indexed.
https://github.com/nodejs/undici/commit/2b39440bd9ded841c93dd72138f3b1763ae26055https://github.com/nodejs/undici/commit/d542b8cd39ec1ba303f038ea26098c3f355974f3https://github.com/nodejs/undici/security/advisories/GHSA-9qxr-qj54-h672https://hackerone.com/reports/2377760https://lists.fedoraproject.org/archives/list/[email protected]/message/HQVHWAS6WDXXIU7F72XI55VZ2LTZUB33/https://lists.fedoraproject.org/archives/list/[email protected]/message/NC3V3HFZ5MOJRZDY5ZELL6REIRSPFROJ/https://lists.fedoraproject.org/archives/list/[email protected]/message/P6Q4RGETHVYVHDIQGTJGU5AV6NJEI67E/https://github.com/nodejs/undici/commit/2b39440bd9ded841c93dd72138f3b1763ae26055https://github.com/nodejs/undici/commit/d542b8cd39ec1ba303f038ea26098c3f355974f3https://github.com/nodejs/undici/security/advisories/GHSA-9qxr-qj54-h672https://hackerone.com/reports/2377760https://lists.fedoraproject.org/archives/list/[email protected]/message/HQVHWAS6WDXXIU7F72XI55VZ2LTZUB33/https://lists.fedoraproject.org/archives/list/[email protected]/message/NC3V3HFZ5MOJRZDY5ZELL6REIRSPFROJ/https://lists.fedoraproject.org/archives/list/[email protected]/message/P6Q4RGETHVYVHDIQGTJGU5AV6NJEI67E/https://security.netapp.com/advisory/ntap-20240905-0008/
2024-04-04
Published