Improper Handling of Highly Compressed Data (Data Amplification) Affecting python-scrapy package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.08% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-PYTHONSCRAPY-6672274
  • published18 Apr 2025
  • disclosed16 Apr 2024

Introduced: 16 Apr 2024

CVE-2024-3572  (opens in a new tab)
CWE-409  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 python-scrapy.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-scrapy package and not the python-scrapy package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.