ReDoS Vulnerability in scrapy/scrapy's XMLFeedSpider
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| scrapy | scrapy/scrapy | before 2.11 | 2.11 | Patch available | CNA |
| — | scrapy (PyPI) | 2 to before 2.11.1 | 2.11.1 | Patch available | GHSA-cc65-xxvf-f7r9 |
| — | scrapy (PyPI) | before 1.8.4 | 1.8.4 | Patch available | GHSA-cc65-xxvf-f7r9 |
- scrapy/scrapy Vendorscrapy Affected before 2.11 Fixed in 2.11 Patch available CNA
- scrapy (PyPI) Vendor— Affected 2 to before 2.11.1 Fixed in 2.11.1 Patch available GHSA-cc65-xxvf-f7r9
- scrapy (PyPI) Vendor— Affected before 1.8.4 Fixed in 1.8.4 Patch available GHSA-cc65-xxvf-f7r9
Remediation
- Fix · CNA scrapy/scrapy (scrapy) Fixed in 2.11
- Fix · GHSA-cc65-xxvf-f7r9 scrapy (PyPI) Fixed in 2.11.1 Advisory →
- Fix · GHSA-cc65-xxvf-f7r9 scrapy (PyPI) Fixed in 1.8.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-1892
- 2026-10-03 Alias added: GHSA-cc65-xxvf-f7r9
References
Other 6
- https://github.com/scrapy/scrapy/security/advisories/GHSA-cc65-xxvf-f7r9
- https://github.com/scrapy/scrapy/commit/73e7c0ed011a0565a1584b8052ec757b54e5270b
- https://docs.scrapy.org/en/latest/news.html#scrapy-1-8-4-2024-02-14
- https://docs.scrapy.org/en/latest/news.html#scrapy-2-11-1-2024-02-14
- https://github.com/pypa/advisory-database/tree/main/vulns/scrapy/PYSEC-2024-162.yaml
- https://github.com/scrapy/scrapy
More Scrapy vulnerabilities
- TI-2024-03333 Authorization Header Leak During Cross-Domain Redirect in scrapy/scrapy CVSS 3.0HIGH 7.5
- TI-2024-03331 XML External Entity (XXE) Vulnerability in scrapy/scrapy CVSS 3.0HIGH 7.5
- TI-2024-01831 Authorization Header Leakage in scrapy/scrapy on Scheme Change Redirects CVSS 3.0HIGH 7.5
- TI-2017-10313 Scrapy 1.4 allows remote attackers to cause a denial of service (memory consumption) via… CVSS 3.0HIGH 7.5
- TI-2022-00495 Exposure of Sensitive Information to an Unauthorized Actor in scrapy/scrapy CVSS 3.1MEDIUM 6.5
- TI-2021-17964 HTTP authentication credential leak to target websites in scrapy CVSS 3.1MEDIUM 6.5
Sources
- CVE-2024-1892 · CVE Program
- CVE-2024-1892 · NVD
- FIRST EPSS
- GHSA-cc65-xxvf-f7r9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences