Lucene search

K
hackeroneMaple3142H1:2284065
HistoryDec 13, 2023 - 8:19 p.m.

Node.js: Denial of Service by resource exhaustion in fetch() brotli decoding

2023-12-1320:19:55
maple3142
hackerone.com
29
node.js
dos attack
resource exhaustion
fetch()
brotli decoding
vulnerability
untrusted url
memory exhaustion
process termination
bugbounty

AI Score

6.5

Confidence

High

EPSS

0

Percentile

15.5%

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.