synced 1 MIN AGO
01 Record

CVE-2024-8088

Infinite loop when iterating over zip archive entry names from zipfile.Path

HighPUBLISHEDCNA: PSF
CNA base score8.7 CVSS v4.0CVSS: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

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.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
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

VendorProductVersionsPlatforms
Python Software FoundationCPython0 to < 3.8.20, 3.9.0 to < 3.9.20, 3.10.0 to < 3.10.15, 3.11.0 to < 3.11.10, 3.12.0 to < 3.12.6, 3.13.0a1 to < 3.13.0rc2—
python_software_foundationcpython0 to 3.13.0—

06 References

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.