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

CVE-2024-3572: Scrapy decompression bomb vulnerability

April 16, 2024

The scrapy/scrapy project is vulnerable to XML External Entity (XXE) attacks due to the use of lxml.etree.fromstring for parsing untrusted XML data without proper validation. This vulnerability allows attackers to perform denial of service attacks, access local files, generate network connections, or circumvent firewalls by submitting specially crafted XML data.

References

  • github.com/advisories/GHSA-rmqv-7v3j-mr7p
  • github.com/scrapy/scrapy
  • github.com/scrapy/scrapy/commit/809bfac4890f75fc73607318a04d2ccba71b3d9f
  • huntr.com/bounties/c4a0fac9-0c5a-4718-9ee4-2d06d58adabb
  • nvd.nist.gov/vuln/detail/CVE-2024-3572

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.11.1

Fixed versions

  • 2.11.1

Solution

Upgrade to version 2.11.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)

Source file

pypi/scrapy/CVE-2024-3572.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 13 May 2025 12:15:01 +0000.