
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2019-9674 affects Python's zipfile module through version 3.7.2. The vulnerability allows remote attackers to cause a denial of service (resource consumption) via a ZIP bomb attack. A ZIP bomb is a malicious archive file that can exhaust system resources when decompressed (CVE Details, NVD).
The vulnerability exists in the Lib/zipfile.py component of Python. When processing ZIP files, the module does not implement protection against ZIP bombs, which are specially crafted archives that can expand to consume excessive system resources during decompression. The vulnerability has a CVSS 3.1 base score of 7.5 (High), with attack vector being Network, attack complexity Low, and no privileges or user interaction required (Ubuntu).
When exploited, this vulnerability can lead to denial of service through resource exhaustion. A malicious ZIP file can be crafted to be very small in its compressed form but expand to consume massive amounts of disk space and memory when decompressed, potentially overwhelming the system resources (Python Security).
Rather than implementing direct fixes in the zipfile module, Python improved its documentation to reflect the dangers of ZIP bombs. Users are advised to never extract archives from untrusted sources without prior inspection. Applications can implement their own protection by checking compression ratios, limiting system resources, and validating file sizes before decompression (Python Bug Tracker).
The Python security team determined that this was primarily a documentation issue rather than a code vulnerability. The consensus was that the zipfile module, being a low-level component, should not implement ZIP bomb protection by default, but rather document the risks and let applications implement appropriate safeguards (Python Bug Tracker).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."