Red Hat VEX
RHVEX-CVE-2024-8088
python: cpython: Iterating over a malicious ZIP file may lead to Denial of Service
Details
A flaw was found in Python's zipfile module. When iterating over the entries of a zip archive, the process can enter into an infinite loop state and become unresponsive. This flaw allows an attacker to craft a malicious ZIP archive, leading to a denial of service from the application consuming the zipfile module. Only applications that handle user-controlled zip archives are affected by this vulnerability.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | python | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | python-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | python-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | python-test | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | python-tools | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tkinter | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-debug | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-test | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-tools | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3-debug | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3-idle | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3-test | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python3-tkinter | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | tkinter | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python-PyMySQL | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-distro | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-docs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-docutils | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-nose | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-nose-docs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-pygments | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-pymongo | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-pymongo-doc | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-sqlalchemy | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-sqlalchemy-doc | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-virtualenv | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-virtualenv-doc | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python-wheel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2-debug | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2-libs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2-test | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2-tkinter | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python2-tools | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-PyMySQL | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-bson | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-distro | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-docs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-docutils | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-nose | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-pygments | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-pymongo | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-pymongo-gridfs | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-scipy | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-sqlalchemy | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-virtualenv | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-wheel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python3-wheel-wheel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python36 | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python36-debug | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python36-devel | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | python36-rpm-macros | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | scipy | All versions, will not be fixed |
References
- https://access.redhat.com/security/cve/CVE-2024-8088
- https://bugzilla.redhat.com/show_bug.cgi?id=2307370
- https://www.cve.org/CVERecord?id=CVE-2024-8088
- https://nvd.nist.gov/vuln/detail/CVE-2024-8088
- https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e
- https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64
- https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea
- https://github.com/python/cpython/issues/122905
- https://github.com/python/cpython/pull/122906
- https://mail.python.org/archives/list/[email protected]/thread/GNFCKVI4TCATKQLALJ5SN4L4CSPSMILU/