description: 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.
affected:
{
defaultStatus: unaffected
vendor: Node.js
product: Node.js
versions:
version: 20.11.0, status: affected, lessThanOrEqual: 20.11.0, versionType: semver
version: 21.6.1, status: affected, lessThanOrEqual: 21.6.1, versionType: semver
version: 18.19.0, status: affected, lessThanOrEqual: 18.19.0, versionType: semver
}
metrics:
cvssV3_0: [
version: 3.0
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
baseScore: 6.5
baseSeverity: MEDIUM
]