Vulnerabilities/

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

Severity:
Low

Description

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.

Recommendation

Update the undici package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
undici
Anything's wrong? Let us know Last updated on April 29, 2024

This issue is available in SmartScanner Professional

See Pricing