CVE catalog

CVE-2024-1892

Scrapy vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.56% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-scrapysid2.19.0-2fixed
Debianpython-scrapyforky2.19.0-2fixed
Debianpython-scrapytrixie2.12.0-2fixed
Debianpython-scrapybookworm2.8.0-2vulnerable
Ubuntupython-scrapynobleNot reportedvulnerable
Ubuntupython-scrapynoble2.11.1-1ubuntu0.1~esm2fixed
Ubuntupython-scrapy-docnoble2.11.1-1ubuntu0.1~esm2fixed
Ubuntupython3-scrapynoble2.11.1-1ubuntu0.1~esm2fixed
Ubuntupython-scrapy16.041.0.0-1vulnerable
Ubuntupython-scrapy16.041.0.3-1vulnerable
Ubuntupython-scrapypro2.4.1-2vulnerable
Ubuntupython-scrapypro2.5.1-2vulnerable
Ubuntupython-scrapypro2.5.1-2ubuntu0.1~esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-scrapysourcesid2.11.1-1not yet assignedNot reported[1065111]
Debianpython-scrapysourceforky2.11.1-1not yet assignedNot reported[1065111]
Debianpython-scrapysourcetrixie2.11.1-1not yet assignedNot reported[1065111]
Debianpython-scrapysourcebookworm(unfixed)not yet assignedNot reported[1065111]
Ubuntupython-scrapydebnoble2.11.1-1ubuntu0.1~esm2Not reportedNot reportedNot reported
Ubuntupython-scrapy-docdebnoble2.11.1-1ubuntu0.1~esm2Not reportedNot reportedNot reported
Ubuntupython3-scrapydebnoble2.11.1-1ubuntu0.1~esm2Not reportedNot reportedNot reported
Ubuntupython-scrapydebpro2.5.1-2ubuntu0.1~esm1Not reportedUBUNTU-CVE-2024-1892Not reported

[Debian bug #1065111]

Notes

[bookworm] python-scrapy: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References