Description
GuardDog is a CLI tool to identify malicious PyPI packages. Prior to 2.7.1, GuardDog's safe_extract() function does not validate decompressed file sizes when extracting ZIP archives (wheels, eggs), allowing attackers to cause denial of service through zip bombs. A malicious package can consume gigabytes of disk space from a few megabytes of compressed data. This vulnerability is fixed in 2.7.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| DataDog | guarddog | < 2.7.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | guarddog | < 2.7.1 | 2.7.1 | GHSA-ffj4-jq7m-9g6v |