All reports
Low

Undici's fetch with integrity option is too lax when algorithm is specified but hash value is in incorrect

Affected versions

Affected versions
< 5.28.4
Fixed version
5.28.4
Affected versions
>= 6.0.0, < 6.11.1
Fixed version
6.11.1
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-30261

Probability of exploitation in the next 30 days: 0.80%

FIRST EPSS · 2026-11-20

Description

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

Links

Credits

  • Uzlopak