CVE-2024-3572

NameCVE-2024-3572
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-scrapy (PTS)jessie0.24.2-1vulnerable
stretch (security), stretch (lts), stretch1.0.3-2+deb9u1vulnerable
buster1.5.1-1+deb10u1vulnerable
bullseye2.4.1-2+deb11u1vulnerable
bookworm2.8.0-2vulnerable
sid, trixie2.11.1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-scrapysourcejessie(unfixed)end-of-life
python-scrapysourcestretch(unfixed)end-of-life
python-scrapysource(unstable)2.11.1-1

Notes

[bookworm] - python-scrapy <no-dsa> (Minor issue)
[bullseye] - python-scrapy <no-dsa> (Minor issue)
https://huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabb
https://github.com/scrapy/scrapy/commit/809bfac4890f75fc73607318a04d2ccba71b3d9f (2.11.1)
https://github.com/scrapy/scrapy/security/advisories/GHSA-7j7m-v7m3-jqm7

Search for package or bug name: Reporting problems