CVE-2024-8088
Infinite loop when iterating over zip archive entry names from zipfile.Path
02 Description
Infinite loop when iterating over zip archive entry names from zipfile.Path
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 1.27% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 69.5% of scored records. A rank, not a probability.
- NVD base score
- 8.7 (CVSS v4.0), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:U/V:X/RE:L/U:X
- NVD analysis status
- Deferred. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-08-22 18:45Z2 YR AGO
- Last updated
- 2025-11-03 22:32Z11 MO AGO
- Reserved
- 2024-08-22
- Assigning CNA
- PSF
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.7)
- CNA CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/S:N/AU:N/R:U/RE:L
- Weaknesses
- CWE-835Loop with Unreachable Exit Condition ('Infinite Loop')Base
- Data version
- 5.2
- Document digest
- b3a1611925ef316ce94397a3266a28c89cab4df5df0c36a4b8573112daeff35a
05 Affected products
06 References
- mail.python.orghttps://mail.python.org/archives/list/security-announce@python.org/thread/GNFCKVI4TCATKQLALJ5SN4L4CSPSMILU/
- github.comhttps://github.com/python/cpython/pull/122906
- github.comhttps://github.com/python/cpython/issues/122905
- github.comhttps://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e
- github.comhttps://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64
- github.comhttps://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea
- github.comhttps://github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16db
- github.comhttps://github.com/python/cpython/issues/123270
- github.comhttps://github.com/python/cpython/commit/2231286d78d328c2f575e0b05b16fe447d1656d6
- github.comhttps://github.com/python/cpython/commit/7e8883a3f04d308302361aeffc73e0e9837f19d4
- github.comhttps://github.com/python/cpython/commit/95b073bddefa6243effa08e131e297c0383e7f6a
- github.comhttps://github.com/python/cpython/commit/7bc367e464ce50b956dd232c1dfa1cad4e7fb814
- github.comhttps://github.com/python/cpython/commit/962055268ed4f2ca1d717bfc8b6385de50a23ab7
- github.comhttps://github.com/python/cpython/commit/fc0b8259e693caa8400fa8b6ac1e494e47ea7798
- github.comhttps://github.com/python/cpython/commit/0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1
- github.comhttps://github.com/python/cpython/commit/9cd03263100ddb1657826cc4a71470786cab3932
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/08/22/1
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/08/22/4
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/08/23/1
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/08/23/2
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20241011-0010/
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2024/12/msg00000.html
07 Fixed in
AlmaLinux 8
- python3.11 Fixed in 3.11.9-7.el8_10
- python3.11-debug Fixed in 3.11.9-7.el8_10
- python3.11-devel Fixed in 3.11.9-7.el8_10
- python3.11-idle Fixed in 3.11.9-7.el8_10
- python3.11-libs Fixed in 3.11.9-7.el8_10
- python3.11-rpm-macros Fixed in 3.11.9-7.el8_10
- python3.11-test Fixed in 3.11.9-7.el8_10
- python3.11-tkinter Fixed in 3.11.9-7.el8_10
- python3.12 Fixed in 3.12.5-2.el8_10
- python3.12-debug Fixed in 3.12.5-2.el8_10
- python3.12-devel Fixed in 3.12.5-2.el8_10
- python3.12-idle Fixed in 3.12.5-2.el8_10
- python3.12-libs Fixed in 3.12.5-2.el8_10
- python3.12-rpm-macros Fixed in 3.12.5-2.el8_10
- python3.12-test Fixed in 3.12.5-2.el8_10
- python3.12-tkinter Fixed in 3.12.5-2.el8_10
- python39 Fixed in 3.9.19-7.module_el8.10.0+3885+d986a391
- python39-Cython Fixed
A version is affected if any line below covers it.
- Affected before 0.29.21-5.module_el8.6.0+2780+a40f65e1
- Affected before 0.29.21-5.module_el8.6.0+3248+c431e88c
- python39-PyMySQL Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
- python39-attrs Fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1
- python39-cffi Fixed
A version is affected if any line below covers it.
- Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
- Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
- python39-chardet Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
- python39-cryptography Fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d
- python39-debug Fixed in 3.9.19-7.module_el8.10.0+3885+d986a391
- python39-devel Fixed in 3.9.19-7.module_el8.10.0+3885+d986a391
- python39-idle Fixed in 3.9.19-7.module_el8.10.0+3885+d986a391
- python39-idna Fixed in 2.10-4.module_el8.10.0+3849+a48d89aa
- python39-iniconfig Fixed in 1.1.1-2.module_el8.6.0+2780+a40f65e1
- python39-libs Fixed in 3.9.19-7.module_el8.10.0+3885+d986a391
- python39-lxml Fixed
A version is affected if any line below covers it.
- Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
- Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
- python39-mod_wsgi Fixed in 4.7.1-7.module_el8.9.0+3634+fb2a896c
- python39-more-itertools Fixed in 8.5.0-2.module_el8.6.0+2780+a40f65e1
- python39-numpy Fixed
A version is affected if any line below covers it.
- Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
- Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
- python39-numpy-doc Fixed in 1.19.4-3.module_el8.6.0+2780+a40f65e1
- python39-numpy-f2py Fixed
A version is affected if any line below covers it.
- Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
- Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
- python39-packaging Fixed in 20.4-4.module_el8.6.0+2780+a40f65e1
- python39-pip Fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d
- python39-pip-wheel Fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d
- python39-pluggy Fixed in 0.13.1-3.module_el8.6.0+2780+a40f65e1
- python39-ply Fixed in 3.11-10.module_el8.6.0+2780+a40f65e1
25 further packages in AlmaLinux 8 not shown (first 40 listed).
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- python-unversioned-command Fixed in 3.9.19-8.el9
- python3 Fixed in 3.9.19-8.el9
- python3-debug Fixed in 3.9.19-8.el9
- python3-devel Fixed in 3.9.19-8.el9
- python3-idle Fixed in 3.9.19-8.el9
- python3-libs Fixed in 3.9.19-8.el9
- python3-test Fixed in 3.9.19-8.el9
- python3-tkinter Fixed in 3.9.19-8.el9
- python3.11 Fixed in 3.11.9-7.el9
- python3.11-debug Fixed in 3.11.9-7.el9
- python3.11-devel Fixed in 3.11.9-7.el9
- python3.11-idle Fixed in 3.11.9-7.el9
- python3.11-libs Fixed in 3.11.9-7.el9
- python3.11-test Fixed in 3.11.9-7.el9
- python3.11-tkinter Fixed in 3.11.9-7.el9
- python3.12 Fixed in 3.12.5-2.el9
- python3.12-debug Fixed in 3.12.5-2.el9
- python3.12-devel Fixed in 3.12.5-2.el9
- python3.12-idle Fixed in 3.12.5-2.el9
- python3.12-libs Fixed in 3.12.5-2.el9
- python3.12-test Fixed in 3.12.5-2.el9
- python3.12-tkinter Fixed in 3.12.5-2.el9
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- python3.11 Fixed in 3.11.9-7.el8_10
- python3.11-debug Fixed in 3.11.9-7.el8_10
- python3.11-devel Fixed in 3.11.9-7.el8_10
- python3.11-idle Fixed in 3.11.9-7.el8_10
- python3.11-libs Fixed in 3.11.9-7.el8_10
- python3.11-rpm-macros Fixed in 3.11.9-7.el8_10
- python3.11-test Fixed in 3.11.9-7.el8_10
- python3.11-tkinter Fixed in 3.11.9-7.el8_10
- python3.12 Fixed in 3.12.5-2.el8_10
- python3.12-debug Fixed in 3.12.5-2.el8_10
- python3.12-devel Fixed in 3.12.5-2.el8_10
- python3.12-idle Fixed in 3.12.5-2.el8_10
- python3.12-libs Fixed in 3.12.5-2.el8_10
- python3.12-rpm-macros Fixed in 3.12.5-2.el8_10
- python3.12-test Fixed in 3.12.5-2.el8_10
- python3.12-tkinter Fixed in 3.12.5-2.el8_10
- python39 Fixed in 3.9.19-7.module_el8.10.0+3885+d986a391
- python39-Cython Fixed
A version is affected if any line below covers it.
- Affected before 0.29.21-5.module_el8.6.0+2780+a40f65e1
- Affected before 0.29.21-5.module_el8.6.0+3248+c431e88c
- python39-PyMySQL Fixed in 0.10.1-2.module_el8.6.0+2780+a40f65e1
- python39-attrs Fixed in 20.3.0-2.module_el8.6.0+2780+a40f65e1
- python39-cffi Fixed
A version is affected if any line below covers it.
- Affected before 1.14.3-2.module_el8.6.0+2780+a40f65e1
- Affected before 1.14.3-2.module_el8.6.0+3248+c431e88c
- python39-chardet Fixed in 3.0.4-19.module_el8.6.0+2780+a40f65e1
- python39-cryptography Fixed in 3.3.1-3.module_el8.10.0+3765+2f9a457d
- python39-debug Fixed in 3.9.19-7.module_el8.10.0+3885+d986a391
- python39-devel Fixed in 3.9.19-7.module_el8.10.0+3885+d986a391
- python39-idle Fixed in 3.9.19-7.module_el8.10.0+3885+d986a391
- python39-idna Fixed in 2.10-4.module_el8.10.0+3849+a48d89aa
- python39-iniconfig Fixed in 1.1.1-2.module_el8.6.0+2780+a40f65e1
- python39-libs Fixed in 3.9.19-7.module_el8.10.0+3885+d986a391
- python39-lxml Fixed
A version is affected if any line below covers it.
- Affected before 4.6.5-1.module_el8.6.0+2780+a40f65e1
- Affected before 4.6.5-1.module_el8.6.0+3248+c431e88c
- python39-mod_wsgi Fixed in 4.7.1-7.module_el8.9.0+3634+fb2a896c
- python39-more-itertools Fixed in 8.5.0-2.module_el8.6.0+2780+a40f65e1
- python39-numpy Fixed
A version is affected if any line below covers it.
- Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
- Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
- python39-numpy-doc Fixed in 1.19.4-3.module_el8.6.0+2780+a40f65e1
- python39-numpy-f2py Fixed
A version is affected if any line below covers it.
- Affected before 1.19.4-3.module_el8.6.0+2780+a40f65e1
- Affected before 1.19.4-3.module_el8.6.0+3248+c431e88c
- python39-packaging Fixed in 20.4-4.module_el8.6.0+2780+a40f65e1
- python39-pip Fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d
- python39-pip-wheel Fixed in 20.2.4-9.module_el8.10.0+3765+2f9a457d
- python39-pluggy Fixed in 0.13.1-3.module_el8.6.0+2780+a40f65e1
- python39-ply Fixed in 3.11-10.module_el8.6.0+2780+a40f65e1
25 further packages in CloudLinux 8 not shown (first 40 listed).
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- python-unversioned-command Fixed in 3.9.19-8.el9
- python3 Fixed in 3.9.19-8.el9
- python3-debug Fixed in 3.9.19-8.el9
- python3-devel Fixed in 3.9.19-8.el9
- python3-idle Fixed in 3.9.19-8.el9
- python3-libs Fixed in 3.9.19-8.el9
- python3-test Fixed in 3.9.19-8.el9
- python3-tkinter Fixed in 3.9.19-8.el9
- python3.11 Fixed in 3.11.9-7.el9
- python3.11-debug Fixed in 3.11.9-7.el9
- python3.11-devel Fixed in 3.11.9-7.el9
- python3.11-idle Fixed in 3.11.9-7.el9
- python3.11-libs Fixed in 3.11.9-7.el9
- python3.11-test Fixed in 3.11.9-7.el9
- python3.11-tkinter Fixed in 3.11.9-7.el9
- python3.12 Fixed in 3.12.5-2.el9
- python3.12-debug Fixed in 3.12.5-2.el9
- python3.12-devel Fixed in 3.12.5-2.el9
- python3.12-idle Fixed in 3.12.5-2.el9
- python3.12-libs Fixed in 3.12.5-2.el9
- python3.12-test Fixed in 3.12.5-2.el9
- python3.12-tkinter Fixed in 3.12.5-2.el9
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- pypy3 No fix yet
- python3.11 Fixed in 3.11.2-6+deb12u3
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- pypy3 Fixed in 7.3.18+dfsg-1
- python3.13 Fixed in 3.13.0~rc2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- pypy3 Fixed in 7.3.18+dfsg-1
- python3.13 Fixed in 3.13.0~rc2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- python3.8 Fixed in 3.8.10-0ubuntu1~20.04.12
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- python3.10 Fixed in 3.10.12-1~22.04.6
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- python3.12 Fixed in 3.12.3-1ubuntu0.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- python3.8 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- python3.9 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- python3.11 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.