What’s Vulnerable › Vulnerabilities

CVE-2024-30261: Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect

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.

Affected products

How to fix

Upgrade to a fixed version: undici 5.28.4, 6.11.1; Npm Undici 5.28.4, 6.11.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-30261 or the next vulnerability affects your stack