3.5
CWE
284
EPSS
0.044%
Advisory Published
CVE Published
Updated

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

First published: Thu Apr 04 2024(Updated: )

### 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

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
npm/undici>=6.0.0<6.11.1
6.11.1
npm/undici<5.28.4
5.28.4
Node.js<5.28.4
Node.js>=6.0.0<6.11.1
Fedora=38
Fedora=39
Fedora=40

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2024-30261?

    CVE-2024-30261 is considered a significant vulnerability as it allows attackers to manipulate the integrity of fetch requests.

  • How do I fix CVE-2024-30261?

    To fix CVE-2024-30261, update the undici package to version 6.11.1 or later.

  • Which versions of undici are affected by CVE-2024-30261?

    CVE-2024-30261 affects undici versions between 6.0.0 and 6.11.0, as well as any versions prior to 5.28.4.

  • What compatibility issues should I be aware of when addressing CVE-2024-30261?

    When addressing CVE-2024-30261, ensure your application is compatible with undici version 6.11.1 or later.

  • How does CVE-2024-30261 affect fetch requests?

    CVE-2024-30261 allows fetch requests to be deemed valid even if they have been tampered with, compromising data integrity.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203