Skip to content

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

Low severity GitHub Reviewed Published Apr 4, 2024 in nodejs/undici • Updated Apr 29, 2024

Package

npm undici (npm)

Affected versions

< 5.28.4
>= 6.0.0, < 6.11.1

Patched versions

5.28.4
6.11.1
@mcollina mcollina published to nodejs/undici Apr 4, 2024
Published to the GitHub Advisory Database Apr 4, 2024
Reviewed Apr 4, 2024
Published by the National Vulnerability Database Apr 4, 2024
Last updated Apr 29, 2024

Severity

Low
2.6
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N

Weaknesses

CVE ID

CVE-2024-30261

GHSA ID

GHSA-9qxr-qj54-h672

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.