Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. scrapy
  4. ›
  5. GHSA-rmqv-7v3j-mr7p

GHSA-rmqv-7v3j-mr7p: Duplicate Advisory: Scrapy decompression bomb vulnerability

April 16, 2024

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-7j7m-v7m3-jqm7. This link is maintained to preserve external references.

Original Description

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 GHSA-rmqv-7v3j-mr7p 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/GHSA-rmqv-7v3j-mr7p.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:11 +0000.