Ubuntu CVE Tracker
UBUNTU-CVE-2024-3572
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:16.04:LTS | python-scrapy | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | python-scrapy | All versions before 1.5.0-1ubuntu0.1~esm1 (fixed in 1.5.0-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | python-scrapy | All versions before 1.7.3-1ubuntu0.1~esm1 (fixed in 1.7.3-1ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | python-scrapy | All versions before 2.5.1-2ubuntu0.1~esm1 (fixed in 2.5.1-2ubuntu0.1~esm1) |
References
- https://ubuntu.com/security/CVE-2024-3572
- https://www.cve.org/CVERecord?id=CVE-2024-3572
- https://huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabb
- https://github.com/scrapy/scrapy/commit/809bfac4890f75fc73607318a04d2ccba71b3d9f
- https://github.com/scrapy/scrapy/security/advisories/GHSA-7j7m-v7m3-jqm7
- https://github.com/scrapy/scrapy/commit/809bfac4890f75fc73607318a04d2ccba71b3d9f
- https://ubuntu.com/security/notices/USN-7476-1