Description
py7zr is a Python-based library and utility to support 7zip archive compression, decompression, encryption and decryption. Prior to 1.1.3, py7zr's Worker.decompress() extracted archive entries without tracking total decompressed size, allowing a crafted .7z file such as a 15.6 KB archive that expands to 100 MB to exhaust disk or memory before extraction completes. This issue is fixed in version 1.1.3.
Problem types
CWE-409: Improper Handling of Highly Compressed Data (Data Amplification)
Product status
References
github.com/.../py7zr/security/advisories/GHSA-gjrg-mpp7-g774
github.com/...ommit/28faf107b64374fa5a02bfb93aa2024e281ca97b
github.com/miurahr/py7zr/releases/tag/v1.1.3