CVE-2024-1892
CVE-2024-1892 is a medium-severity vulnerability in Scrapy with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1333.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- EPSS exploit prediction: 1% (42nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-0162
- Weakness: CWE-1333
- Affected product: Scrapy
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2024-1892?
- CVE-2024-1892 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2024-1892 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (42nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-1892?
- CVE-2024-1892 affects Scrapy. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-1892?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-1892 have an EU (EUVD) identifier?
- Yes. CVE-2024-1892 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-0162.
- When was CVE-2024-1892 published?
- CVE-2024-1892 was published on 2024-02-28 and last updated on 2026-06-17.
References
- https://github.com/scrapy/scrapy/commit/479619b340f197a8f24c5db45bc068fb8755f2c5
- https://huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b
Affected products (1)
- cpe:2.3:a:scrapy:scrapy:*:*:*:*:*:*:*:*
More vulnerabilities in Scrapy
- CVE-2024-1968 — High (CVSS 7.5): In scrapy/scrapy, an issue was identified where the Authorization header is not removed during redirects that only…
- CVE-2024-3574 — High (CVSS 7.5): In scrapy version 2.10.1, an issue was identified where the Authorization header, containing credentials for server…
- CVE-2024-3572 — High (CVSS 7.5): The scrapy/scrapy project is vulnerable to XML External Entity (XXE) attacks due to the use of lxml.etree.fromstring…
- CVE-2017-14158 — High (CVSS 7.5): Scrapy 1.4 allows remote attackers to cause a denial of service (memory consumption) via large files because…
- CVE-2022-0577 — Medium (CVSS 6.5): Exposure of Sensitive Information to an Unauthorized Actor in GitHub repository scrapy/scrapy prior to 2.6.1.
- CVE-2021-41125 — Medium (CVSS 5.7): Scrapy is a high-level web crawling and scraping framework for Python. If you use `HttpAuthMiddleware` (i.e. the…
Other CWE-1333 vulnerabilities
- CVE-2026-35458 — Critical (CVSS 9.8): Gotenberg is an API for converting document formats. In 8.29.1 and earlier, Gotenberg uses dlclark/regexp2 to compile…
- CVE-2023-29486 — Critical (CVSS 9.8): An issue was discovered in Heimdal Thor agent versions 3.4.2 and before 3.7.0 on Windows, allows attackers to bypass…
- CVE-2026-25547 — Critical (CVSS 9.2): @isaacs/brace-expansion is a hybrid CJS/ESM TypeScript fork of brace-expansion. Prior to version 5.0.1,…
- CVE-2023-29487 — Critical (CVSS 9.1): An issue was discovered in Heimdal Thor agent versions 3.4.2 and before on Windows and 2.6.9 and before on macOS,…
- CVE-2026-47138 — High (CVSS 8.7): Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to…
- CVE-2025-6998 — High (CVSS 8.7): ReDoS in strip_whitespaces() function in cps/string_helper.py in Calibre Web and Autocaliweb allows unauthenticated…