ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2024-1892

Details

A 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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:16.04:LTSpython-scrapy
All versions, no fix listed
Ubuntu:Pro:18.04:LTSpython-scrapy
All versions before 1.5.0-1ubuntu0.1~esm1 (fixed in 1.5.0-1ubuntu0.1~esm1)
Ubuntu:Pro:20.04:LTSpython-scrapy
All versions before 1.7.3-1ubuntu0.1~esm1 (fixed in 1.7.3-1ubuntu0.1~esm1)
Ubuntu:Pro:22.04:LTSpython-scrapy
All versions before 2.5.1-2ubuntu0.1~esm1 (fixed in 2.5.1-2ubuntu0.1~esm1)

References