CVE-2024-1892

NameCVE-2024-1892
DescriptionA Regular Expression Denial of Service (ReDoS) vulnerability exists in the XMLFeedSpider class of the scrapy/scrapy project, specifically in the parsing of XML content. By crafting malicious XML content that exploits inefficient regular expression complexity used in the parsing process, an attacker can cause a denial-of-service (DoS) condition. This vulnerability allows for the system to hang and consume significant resources, potentially rendering services that utilize Scrapy for XML processing unresponsive.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1065111

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
trixie2.11.2-3fixed
sid2.12.0-1fixed

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-11065111

Notes

[bookworm] - python-scrapy <no-dsa> (Minor issue)
[bullseye] - python-scrapy <no-dsa> (Minor issue)
[buster] - python-scrapy <no-dsa> (Minor issue)
https://huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b/
https://github.com/scrapy/scrapy/commit/479619b340f197a8f24c5db45bc068fb8755f2c5 (2.11.1)
https://github.com/scrapy/scrapy/security/advisories/GHSA-cc65-xxvf-f7r9

Search for package or bug name: Reporting problems