CVE-2024-30261
nodejs-undici: fetch() with integrity option is too lax when algorithm is specified but hash value is in incorrect
Overview
Description
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.
Source: OX vulnerability database
Severity
3.5 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
Weakness: CWE-284
Affected packages · 3
Operating systems · 16 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | nodejs | 0:20.14.0-1.azl3 |
SUSE Linux Enterprise 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | nodejs18 +3 | 18.20.1-150400.9.21.3 | SUSE-SU-2024:1309-1 |
| 15.5 | nodejs18 +3 | 18.20.1-150400.9.21.3 | SUSE-SU-2024:1309-1 |
| 15.5 | nodejs20 +3 | 20.12.1-150500.11.9.2 | SUSE-SU-2024:1301-1 |
amazon linux 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs-npm | 1:10.5.0-1.18.20.2.1.amzn2023.0.1 |
| 2023 | nodejs20-npm | 1:10.5.0-1.20.12.2.1.amzn2023.0.2 |
| 2023 | nodejs +7 | 1:18.20.2-1.amzn2023.0.1 |
| 2023 | nodejs20 +7 | 1:20.12.2-1.amzn2023.0.2 |
| 2023 | v8-10-2-devel | 3:10.2.154.26-1.18.20.2.1.amzn2023.0.1 |
| 2023 | v8-11-3-devel | 3:11.3.244.8-1.20.12.2.1.amzn2023.0.2 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | node-undici | affected |
| 13 | node-undici | 5.28.4+dfsg1+~cs23.12.11-1 |
| 14 | node-undici | 5.28.4+dfsg1+~cs23.12.11-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| node-undici | 5.28.4+dfsg1+~cs23.12.11-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | nodejs-electron +2 | 28.2.10-3.1 | openSUSE-SU-2024:13855-1 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-node-undici | affected |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-30261
- github.com https://github.com/nodejs/undici
- github.com https://github.com/nodejs/undici/commit/2b39440bd9ded841c93dd72138f3b1763ae26055
- github.com https://github.com/nodejs/undici/commit/d542b8cd39ec1ba303f038ea26098c3f355974f3
- github.com https://github.com/nodejs/undici/security/advisories/GHSA-9qxr-qj54-h672
- hackerone.com https://hackerone.com/reports/2377760
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HQVHWAS6WDXXIU7F72XI55VZ2LTZUB33
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HQVHWAS6WDXXIU7F72XI55VZ2LTZUB33/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NC3V3HFZ5MOJRZDY5ZELL6REIRSPFROJ
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NC3V3HFZ5MOJRZDY5ZELL6REIRSPFROJ/
Show all 16 references
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P6Q4RGETHVYVHDIQGTJGU5AV6NJEI67E
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P6Q4RGETHVYVHDIQGTJGU5AV6NJEI67E/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-30261
- security.netapp.com https://security.netapp.com/advisory/ntap-20240905-0008
- security.netapp.com https://security.netapp.com/advisory/ntap-20240905-0008/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-30261
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.