{"id":"CVE-2024-30261","published":"2024-04-04T15:09:11Z","modified":"2025-11-04T16:11:56Z","title":"Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect","vendor":"nodejs","product":"undici","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.6,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00803,"percentile":0.57601,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/nodejs/undici/security/advisories/GHSA-9qxr-qj54-h672","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nodejs/undici/commit/2b39440bd9ded841c93dd72138f3b1763ae26055","tags":["x_refsource_MISC"]},{"url":"https://github.com/nodejs/undici/commit/d542b8cd39ec1ba303f038ea26098c3f355974f3","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/2377760","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P6Q4RGETHVYVHDIQGTJGU5AV6NJEI67E/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HQVHWAS6WDXXIU7F72XI55VZ2LTZUB33/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NC3V3HFZ5MOJRZDY5ZELL6REIRSPFROJ/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20240905-0008/","tags":[]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":11.52},{"name":"CVSS severity","points":1.82}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"nodejs","product":"undici","versions":[">= 6.0.0, < 6.11.1","< 5.28.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-04T15:04:42.490317Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"undici","vulnerableRanges":["<5.28.4",">=6.0.0, <6.11.1"],"patched":["5.28.4","6.11.1"],"from":["GHSA-9qxr-qj54-h672"],"provenance":"source"}],"summary":{"text":"The flaw lies in Undici, the HTTP/1.1 client written for Node.js, in how its fetch() implementation handles the integrity option when an algorithm is specified but the accompanying hash value is incorrect. An attacker who can alter the integrity option passed to fetch() can cause tampered requests to be accepted as valid, which requires network access to the request path, low privileges, and user interaction, with the attack complexity rated high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:30Z"},"euvd":{"id":"EUVD-2024-1176","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nodejs-undici-cve-2024-30261","children":[{"from":"CVE-2024-30261","to":"CVE-2024-38372","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/web/fetch/util.js"],"commits":["https://github.com/nodejs/undici/commit/2b39440bd9ded841c93dd72138f3b1763ae26055","https://github.com/nodejs/undici/commit/d542b8cd39ec1ba303f038ea26098c3f355974f3","https://github.com/nodejs/undici/commit/f979ec3204ca489abf30e7d20e9fee9ea7711d36"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-24750","published":"2024-02-16","fixed":"6.6.1","kev":false},{"cve":"CVE-2024-24758","published":"2024-02-16","fixed":"6.6.1","kev":false,"link":{"from":"CVE-2024-24758","to":"CVE-2024-30261","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:undici","fromFixed":"5.28.3","toFixed":"5.28.4","daysApart":48},{"kind":"version-step","provenance":"source","package":"npm:undici","fromFixed":"6.6.1","toFixed":"6.11.1","daysApart":48}]}},{"cve":"CVE-2024-30260","published":"2024-04-04","fixed":"6.11.1","kev":false},{"cve":"CVE-2024-30261","published":"2024-04-04","fixed":"6.11.1","kev":false},{"cve":"CVE-2024-38372","published":"2024-07-08","fixed":"6.19.2","kev":false},{"cve":"CVE-2025-22150","published":"2025-01-21","fixed":"7.2.3","kev":false},{"cve":"CVE-2025-47279","published":"2025-05-15","fixed":"7.5.0","kev":false}],"package":"npm:undici"}}