Bug 2270559 (CVE-2024-22025) - CVE-2024-22025 nodejs: using the fetch() function to retrieve content from an untrusted URL leads to denial of service
Summary: CVE-2024-22025 nodejs: using the fetch() function to retrieve content from an...
Keywords:
Status: NEW
Alias: CVE-2024-22025
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2270561 2270562 2270563 2270564 2270565 2270566 2270567
Blocks: 2270557
TreeView+ depends on / blocked
 
Reported: 2024-03-21 00:01 UTC by Robb Gatica
Modified: 2024-04-30 12:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Node.js that allows a denial of service attack through resource exhaustion when using the fetch() function to retrieve content from an untrusted URL. The vulnerability stems from the fetch() function in Node.js that always decodes Brotli, making it possible for an attacker to cause resource exhaustion when fetching content from an untrusted URL. This flaw allows an attacker to control the URL passed into fetch() to exhaust memory, potentially leading to process termination, depending on the system configuration.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Robb Gatica 2024-03-21 00:01:54 UTC
A vulnerability in Node.js has been identified, allowing for a Denial of Service (DoS) attack through resource exhaustion when using the fetch() function to retrieve content from an untrusted URL. The vulnerability stems from the fact that the fetch() function in Node.js always decodes Brotli, making it possible for an attacker to cause resource exhaustion when fetching content from an untrusted URL. An attacker controlling the URL passed into fetch() can exploit this vulnerability to exhaust memory, potentially leading to process termination, depending on the system configuration.

Reference:
https://hackerone.com/reports/2284065

Comment 1 Robb Gatica 2024-03-21 00:07:11 UTC
Created nodejs tracking bugs for this issue:

Affects: epel-all [bug 2270561]


Created nodejs16 tracking bugs for this issue:

Affects: fedora-all [bug 2270564]


Created nodejs18 tracking bugs for this issue:

Affects: fedora-all [bug 2270565]


Created nodejs20 tracking bugs for this issue:

Affects: fedora-all [bug 2270566]


Created nodejs:13/nodejs tracking bugs for this issue:

Affects: epel-all [bug 2270562]


Created nodejs:16-epel/nodejs tracking bugs for this issue:

Affects: epel-all [bug 2270563]


Created nodejs:16/nodejs tracking bugs for this issue:

Affects: fedora-all [bug 2270567]


Note You need to log in before you can comment on or make changes to this bug.