CVE-2024-3572Improper Handling of Highly Compressed Data (Data Amplification) in Scrapy

Severity
7.5HIGHNVD
OSV6.5
EPSS
0.2%
top 63.49%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 16
Latest updateMay 5

Description

The scrapy/scrapy project is vulnerable to XML External Entity (XXE) attacks due to the use of lxml.etree.fromstring for parsing untrusted XML data without proper validation. This vulnerability allows attackers to perform denial of service attacks, access local files, generate network connections, or circumvent firewalls by submitting specially crafted XML data.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages4 packages

NVDscrapy/scrapy< 2.11.1
PyPIscrapy/scrapy2.0.02.11.1+1
CVEListV5scrapy/scrapy_scrapyunspecified2.11.1
debiandebian/python-scrapy< python-scrapy 2.11.1-1 (forky)

Patches

🔴Vulnerability Details

4
OSV
python-scrapy vulnerabilities2025-05-05
OSV
CVE-2024-3572: The scrapy/scrapy project is vulnerable to XML External Entity (XXE) attacks due to the use of lxml2024-04-16
GHSA
Scrapy decompression bomb vulnerability2024-02-16
OSV
Scrapy decompression bomb vulnerability2024-02-16

📋Vendor Advisories

2
Ubuntu
Scrapy vulnerabilities2025-05-05
Debian
CVE-2024-3572: python-scrapy - The scrapy/scrapy project is vulnerable to XML External Entity (XXE) attacks due...2024