CVE-2024-1892: scrapy
Vulnerability summary
CVE-2024-1892 is a high (CVSS 7.5) vulnerability in scrapy. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 45.3% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 28-02-2024PublishedVulnerability first disclosed.
- 11-08-2024Last modifiedVulnerability information updated.
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 unresponsive.
CVSS metrics
7 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.56%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
0.00 pp
From 0.56% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Scrapy2 products
- scrapy< 2.11.1
- scrapy/scrapy≥ unspecified, < 2.11
Debian1 product
- python-scrapyAll versions (No fix recorded) | < 2.11.1-1
PyPI1 product
- scrapy≥ 2, < 2.11.1 | < 1.8.4 | < 479619b340f197a8f24c5db45bc068fb8755f2c5 | < 2.11.1
Ubuntu1 product
- python-scrapyAll versions (No fix recorded) | < 1.5.0-1ubuntu0.1~esm1 | < 1.7.3-1ubuntu0.1~esm1 | < 2.5.1-2ubuntu0.1~esm1
4 vendors · 5 products
References
14 links- huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26bWEBEVIDENCEFIXREPORTExploitIssue TrackingPatchThird Party Advisory
- github.com/scrapy/scrapyPACKAGE