CVE-2024-5569: Denial of Service via crafted zip file in jaraco/zipp
A Denial of Service (DoS) vulnerability exists in the jaraco/zipp library, affecting all versions prior to 3.19.1. The vulnerability is triggered when processing a specially crafted zip file that leads to an infinite loop. This issue also impacts the zipfile module of CPython, as features from the third-party zipp library are later merged into CPython, and the affected code is identical in both projects. The infinite loop can be initiated through the use of functions affecting the Path module in both zipp and zipfile, such as joinpath, the overloaded division operator, and iterdir. Although the infinite loop is not resource exhaustive, it prevents the application from responding. The vulnerability was addressed in version 3.19.1 of jaraco/zipp.
Other sources
zipp is vulnerable to a denial of service, caused by an infinite loop flaw in the Path module. By using a specially crafted zip file, a local attacker could exploit this vulnerability to cause a denial of service condition.
— IBM
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/zippto a version that resolves this vulnerability.Fixed in 3.19.1 - Upgrade
Upgrade
debian/python-zippto a version that resolves this vulnerability.Fixed in 3.20.1-1 - Upgrade
Upgrade
jaraco/zippto a version that resolves this vulnerability.Fixed in 3.19.1 - Upgrade
Upgrade
zipfile (CPython)to a version that resolves this vulnerability.Fixed in 3.19.1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-5569?
CVE-2024-5569 has a medium severity due to its potential to cause Denial of Service.
How do I fix CVE-2024-5569?
To fix CVE-2024-5569, upgrade the zipp library to version 3.19.1 or later.
Which versions are affected by CVE-2024-5569?
CVE-2024-5569 affects all versions of the jaraco/zipp library prior to 3.19.1.
Does CVE-2024-5569 affect any specific software products?
Yes, CVE-2024-5569 affects products using the zipp library, including IBM Concert Software versions 1.0.0 to 1.0.3.
What are the potential impacts of CVE-2024-5569?
The potential impacts of CVE-2024-5569 include application crashes or an infinite loop leading to Denial of Service.