Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect
CVE-2024-30261
2.6LOW
What is CVE-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 requests as valid even if they have been tampered. This vulnerability was patched in version(s) 5.28.4 and 6.11.1.
Affected Version(s)
undici >= 6.0.0, < 6.11.1 < 6.0.0, 6.11.1
undici < 5.28.4 < 5.28.4