Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. undici
  4. ›
  5. CVE-2024-30261

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

April 4, 2024

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.

References

  • github.com/advisories/GHSA-9qxr-qj54-h672
  • github.com/nodejs/undici
  • github.com/nodejs/undici/commit/2b39440bd9ded841c93dd72138f3b1763ae26055
  • github.com/nodejs/undici/commit/d542b8cd39ec1ba303f038ea26098c3f355974f3
  • github.com/nodejs/undici/security/advisories/GHSA-9qxr-qj54-h672
  • hackerone.com/reports/2377760
  • nvd.nist.gov/vuln/detail/CVE-2024-30261

Code Behaviors & Features

Detect and mitigate CVE-2024-30261 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.28.4, all versions starting from 6.0.0 before 6.11.1

Fixed versions

  • 5.28.4
  • 6.11.1

Solution

Upgrade to versions 5.28.4, 6.11.1 or above.

Impact 2.6 LOW

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

npm/undici/CVE-2024-30261.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:58 +0000.