CVE-2024-1892
MEDIUM 6.5CVSS 3.1Scrapy vulnerable to ReDoS via XMLFeedSpider
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.
- Published
- 28 Feb 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-1333
- Also known as
- GHSA-cc65-xxvf-f7r9PYSEC-2024-162
- Sources
- NVDJSONOSV GHSA-cc65-xxvf-f7r9JSONOSV PYSEC-2024-162JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | scrapy | scrapycpe:2.3:a:scrapy:scrapy:*:*:*:*:*:*:*:* |
< 2.11.1 | 2.11.1 |
| OSV | PyPI | scrapy | >= 2, < 2.11.1 | 2.11.1 |
| OSV | PyPI | scrapy | < 1.8.4 | 1.8.4 |
| OSV | PyPI | scrapy | < 2.11.1 | 2.11.1 |
References
- https://github.com/scrapy/scrapy/commit/479619b340f197a8f24c5db45bc068fb8755f2c5 · Patch, WEB, FIX
- https://huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB, EVIDENCE, FIX, REPORT
- https://github.com/scrapy/scrapy/security/advisories/GHSA-cc65-xxvf-f7r9 · WEB
- https://github.com/scrapy/scrapy/commit/73e7c0ed011a0565a1584b8052ec757b54e5270b · WEB
- https://docs.scrapy.org/en/latest/news.html#scrapy-1-8-4-2024-02-14 · WEB
- https://docs.scrapy.org/en/latest/news.html#scrapy-2-11-1-2024-02-14 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/scrapy/PYSEC-2024-162.yaml · WEB
- https://github.com/scrapy/scrapy · PACKAGE
- https://github.com/advisories/GHSA-cc65-xxvf-f7r9 · ADVISORY
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 28 Feb 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 28 Feb 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Feb 2024)