brotli
Affected
- introduced
0, fixed1.2.0(ecosystem)
Fixed versions
1.2.0
Fix
- Fixed version
1.2.0pip install --upgrade brotli==1.2.0
Advisory
Also known as: CVE-2025-6176, GHSA-2qfp-q593-8484, PYSEC-2026-1906
Scrapy is vulnerable to a denial of service (DoS) attack due to flaws in brotli decompression implementation
Scrapy versions up to 2.13.3 are vulnerable to a denial of service (DoS) attack due to a flaw in its brotli decompression implementation. The protection mechanism against decompression bombs fails to mitigate the brotli variant, allowing remote servers to crash clients with less than 80GB of available memory. This occurs because brotli can achieve extremely high compression ratios for zero-filled data, leading to excessive memory consumption during decompression. Mitigation for this vulnerability needs security enhancement added in brotli v1.2.0.
High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
0, fixed 1.2.0 (ecosystem)1.2.0
1.2.0pip install --upgrade brotli==1.2.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0