Vulnerability in Scrapy
CVE-2024-1892
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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.006 (44.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 44th percentile — 44.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Scrapy
- Scrapy Scrapy/scrapy — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/scrapy/scrapy/commit/479619b340f197a8f24c5db45bc068fb8755f2c5 (Patch)
Frequently asked questions
- What is CVE-2024-1892?
- CVE-2024-1892 is a medium-severity vulnerability in Scrapy, classified under Inefficient Regular Expression Complexity. CVSS score: 6.5/10. Published 2024-02-28.
- How severe is CVE-2024-1892?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2024-1892 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.