Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. scrapy
  4. ›
  5. CVE-2024-1892

CVE-2024-1892: Scrapy vulnerable to ReDoS via XMLFeedSpider

February 15, 2024 (updated January 14, 2025)

The following parts of the Scrapy API were found to be vulnerable to a ReDoS attack:

References

  • docs.scrapy.org/en/latest/news.html
  • docs.scrapy.org/en/latest/news.html
  • github.com/advisories/GHSA-cc65-xxvf-f7r9
  • github.com/pypa/advisory-database/tree/main/vulns/scrapy/PYSEC-2024-162.yaml
  • github.com/scrapy/scrapy
  • github.com/scrapy/scrapy/commit/479619b340f197a8f24c5db45bc068fb8755f2c5
  • github.com/scrapy/scrapy/commit/73e7c0ed011a0565a1584b8052ec757b54e5270b
  • github.com/scrapy/scrapy/security/advisories/GHSA-cc65-xxvf-f7r9
  • huntr.com/bounties/271f94f2-1e05-4616-ac43-41752389e26b
  • nvd.nist.gov/vuln/detail/CVE-2024-1892

Code Behaviors & Features

Detect and mitigate CVE-2024-1892 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.8.4, all versions starting from 2 before 2.11.1

Fixed versions

  • 2.11.1
  • 1.8.4

Solution

Upgrade to versions 1.8.4, 2.11.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

pypi/scrapy/CVE-2024-1892.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:21 +0000.