Bug 1227547 (CVE-2024-5569)

Summary: VUL-0: CVE-2024-5569: python-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 infinit ...
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Security Team bot <security-team>
Status: IN_PROGRESS --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: daniel.garcia, gianluca.gabrielli
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/413046/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-5569:3.3:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-07-09 08:50:17 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-5569
https://www.cve.org/CVERecord?id=CVE-2024-5569
https://github.com/jaraco/zipp/commit/fd604bd34f0343472521a36da1fbd22e793e14fd
https://huntr.com/bounties/be898306-11f9-46b4-b28c-f4c4aa4ffbae
Comment 1 Gianluca Gabrielli 2024-07-09 08:50:45 UTC
Affected packages:
 - SUSE:ALP:Source:Standard:1.0/python-zipp
 - SUSE:SLE-15-SP4:Update/python-zipp
 - SUSE:SLE-15-SP6:Update/python-zipp
 - SUSE:SLFO:Main/python-zipp
Comment 4 Daniel Garcia 2024-07-10 05:21:43 UTC
Patch sent to all affected codestreams.
Comment 5 OBSbugzilla Bot 2024-07-10 05:55:03 UTC
This is an autogenerated message for OBS integration:
This bug (1227547) was mentioned in
https://build.opensuse.org/request/show/1186491 Factory / python-zipp
Comment 7 Maintenance Automation 2024-07-11 20:30:19 UTC
SUSE-SU-2024:2400-1: An update that solves one vulnerability can now be installed.

Category: security (low)
Bug References: 1227547
CVE References: CVE-2024-5569
Maintenance Incident: [SUSE:Maintenance:34710](https://smelt.suse.de/incident/34710/)
Sources used:
openSUSE Leap 15.4 (src):
 python-zipp-3.15.0-150400.10.10.1, python-zipp-test-3.15.0-150400.10.10.1
openSUSE Leap 15.5 (src):
 python-zipp-3.15.0-150400.10.10.1
openSUSE Leap 15.6 (src):
 python-zipp-3.15.0-150400.10.10.1
Public Cloud Module 15-SP4 (src):
 python-zipp-3.15.0-150400.10.10.1
Python 3 Module 15-SP5 (src):
 python-zipp-3.15.0-150400.10.10.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Maintenance Automation 2024-07-11 20:30:23 UTC
SUSE-SU-2024:2397-1: An update that solves one vulnerability can now be installed.

Category: security (low)
Bug References: 1227547
CVE References: CVE-2024-5569
Maintenance Incident: [SUSE:Maintenance:34711](https://smelt.suse.de/incident/34711/)
Sources used:
openSUSE Leap 15.6 (src):
 python-zipp-test-3.17.0-150600.3.3.1, python-zipp-3.17.0-150600.3.3.1
Python 3 Module 15-SP6 (src):
 python-zipp-3.17.0-150600.3.3.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.