ReDoS Vulnerability in scrapy/scrapy's XMLFeedSpider (scrapy scrapy/scrapy)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.56 % · percentile 46 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- @huntr_ai
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-1333 — Inefficient Regular Expression Complexity
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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 | @huntr_ai |
| 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 · nvd@nist.gov (Primary) |
| 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 | NVD · security@huntr.dev (Secondary) |
Advisories
- GHSA-cc65-xxvf-f7r9 — Scrapy vulnerable to ReDoS via XMLFeedSpider
- PYSEC-2024-162 — A Regular Expression Denial of Service (ReDoS) vulnerability exists in the XMLFeedSpider class of the scrapy/scrapy project, specifically in the parsing of XML
European references
- ENISA EUVD · EUVD-2024-0162
- GCVE · GCVE-0-2024-1892
Affected configurations (NVD CPE)
cpe:2.3:a:scrapy:scrapy:*:*:*:*:*:*:*:*< 2.11.1
Affected products
| Product | Versions |
|---|---|
| scrapy · scrapy/scrapy | affected unspecified < 2.11 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |