CVE-2024-1892Regex Denial of Service in Scrapy

Severity
6.5MEDIUMNVD
EPSS
0.1%
top 81.95%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 28
Latest updateMay 5

Description

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 2.8 | Impact: 3.6

Affected Packages4 packages

NVDscrapy/scrapy< 2.11.1
PyPIscrapy/scrapy22.11.1+1
CVEListV5scrapy/scrapy_scrapyunspecified2.11
debiandebian/python-scrapy< python-scrapy 2.11.1-1 (forky)

Patches

🔴Vulnerability Details

4
OSV
python-scrapy vulnerabilities2025-05-05
OSV
CVE-2024-1892: A Regular Expression Denial of Service (ReDoS) vulnerability exists in the XMLFeedSpider class of the scrapy/scrapy project, specifically in the parsi2024-02-28
GHSA
Scrapy vulnerable to ReDoS via XMLFeedSpider2024-02-15
OSV
Scrapy vulnerable to ReDoS via XMLFeedSpider2024-02-15

📋Vendor Advisories

3
Ubuntu
Scrapy vulnerabilities2025-05-05
Red Hat
kernel: drm/amd/display: Fix potential NULL pointer dereferences in &#39;dcn10_set_output_transfer_func()&#39;2024-05-01
Debian
CVE-2024-1892: python-scrapy - A Regular Expression Denial of Service (ReDoS) vulnerability exists in the XMLFe...2024