CVE-2024-3572
Python vulnerability analysis and mitigation

Overview

The scrapy/scrapy project was identified with a vulnerability (CVE-2024-3572) related to XML External Entity (XXE) attacks. The vulnerability was discovered due to the use of lxml.etree.fromstring for parsing untrusted XML data without proper validation. This security issue was disclosed on April 15, 2024 (NVD, CVE).

Technical details

The vulnerability received a CVSS v3.0 base score of 7.5 (HIGH) with the vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The issue is associated with CWE-409 (Improper Handling of Highly Compressed Data), indicating potential data amplification concerns. The core issue lies in the unsafe parsing of untrusted XML data using lxml.etree.fromstring without implementing proper validation mechanisms (NVD).

Impact

The vulnerability enables attackers to perform denial of service attacks, access local files, generate network connections, or circumvent firewalls by submitting specially crafted XML data. This poses significant risks to systems implementing the affected scrapy versions (NVD).

Mitigation and workarounds

A fix has been implemented and is available in the scrapy repository. Users are advised to update to the patched version as detailed in the commit (Github Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-57817HIGH8.6
  • PythonPython
  • ethyca-fides
NoYesSep 08, 2025
CVE-2025-58446MEDIUM6.9
  • PythonPython
  • xgrammar
NoYesSep 06, 2025
CVE-2025-57816MEDIUM6.3
  • PythonPython
  • ethyca-fides
NoYesSep 08, 2025
CVE-2025-57815LOW1.7
  • PythonPython
  • ethyca-fides
NoYesSep 08, 2025
CVE-2025-57766LOW1.7
  • PythonPython
  • ethyca-fides
NoYesSep 08, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management