CVE-2024-3572
HIGH7.5EPSS 0.16%Scrapy decompression bomb vulnerability
Published: 2/16/2024Modified: 4/28/2026
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.
Affected packages (2)
- Debian/python-scrapyfrom 0
- PyPI/scrapy>= 2.0.0, < 2.11.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-3572
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-3572
- PATCHhttps://github.com/scrapy/scrapy
- WEBhttps://docs.scrapy.org/en/latest/news.html#scrapy-2-11-1-2024-02-14
- WEBhttps://github.com/scrapy/scrapy/commit/71b8741e3607cfda2833c7624d4ada87071aa8e5
- WEBhttps://github.com/scrapy/scrapy/commit/809bfac4890f75fc73607318a04d2ccba71b3d9f
- WEBhttps://github.com/scrapy/scrapy/security/advisories/GHSA-7j7m-v7m3-jqm7
- WEBhttps://huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabb