7.5
HIGH
CVE-2024-8088
Apache Python Zipfile Infinite Loop Denial of Service (DOoS)
Description

There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class is unaffected. When iterating over names of entries in a zip archive (for example, methods of "zipfile.Path" like "namelist()", "iterdir()", etc) the process can be put into an infinite loop with a maliciously crafted zip archive. This defect applies when reading only metadata or extracting the contents of the zip archive. Programs that are not handling user-controlled zip archives are not affected.

INFO

Published Date :

Aug. 22, 2024, 7:15 p.m.

Last Modified :

Sept. 4, 2024, 11:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2024-8088 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-8088 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Python python

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Toolkit for k8s administrators/developers.

Dockerfile Shell

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : July 10, 2022, 10:30 p.m. This repo has been linked 33 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-8088 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-8088 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Sep. 04, 2024

    Action Type Old Value New Value
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1 [No types assigned]
  • CVE Modified by [email protected]

    Sep. 04, 2024

    Action Type Old Value New Value
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/7bc367e464ce50b956dd232c1dfa1cad4e7fb814 [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/962055268ed4f2ca1d717bfc8b6385de50a23ab7 [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/fc0b8259e693caa8400fa8b6ac1e494e47ea7798 [No types assigned]
  • CVE Modified by [email protected]

    Sep. 03, 2024

    Action Type Old Value New Value
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/2231286d78d328c2f575e0b05b16fe447d1656d6 [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/7e8883a3f04d308302361aeffc73e0e9837f19d4 [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/95b073bddefa6243effa08e131e297c0383e7f6a [No types assigned]
  • CVE Modified by [email protected]

    Aug. 28, 2024

    Action Type Old Value New Value
    Added Reference Python Software Foundation https://github.com/python/cpython/issues/123270 [No types assigned]
    Removed CVSS V3.1 Python Software Foundation AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • CVE Modified by [email protected]

    Aug. 26, 2024

    Action Type Old Value New Value
    Changed Description There is a HIGH severity vulnerability affecting the CPython "zipfile" module. When iterating over names of entries in a zip archive (for example, methods of "zipfile.ZipFile" like "namelist()", "iterdir()", "extractall()", etc) the process can be put into an infinite loop with a maliciously crafted zip archive. This defect applies when reading only metadata or extracting the contents of the zip archive. Programs that are not handling user-controlled zip archives are not affected. There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class is unaffected. When iterating over names of entries in a zip archive (for example, methods of "zipfile.Path" like "namelist()", "iterdir()", etc) the process can be put into an infinite loop with a maliciously crafted zip archive. This defect applies when reading only metadata or extracting the contents of the zip archive. Programs that are not handling user-controlled zip archives are not affected.
  • CVE Modified by [email protected]

    Aug. 23, 2024

    Action Type Old Value New Value
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16db [No types assigned]
  • CVE Received by [email protected]

    Aug. 22, 2024

    Action Type Old Value New Value
    Added Description There is a HIGH severity vulnerability affecting the CPython "zipfile" module. When iterating over names of entries in a zip archive (for example, methods of "zipfile.ZipFile" like "namelist()", "iterdir()", "extractall()", etc) the process can be put into an infinite loop with a maliciously crafted zip archive. This defect applies when reading only metadata or extracting the contents of the zip archive. Programs that are not handling user-controlled zip archives are not affected.
    Added Reference Python Software Foundation https://mail.python.org/archives/list/[email protected]/thread/GNFCKVI4TCATKQLALJ5SN4L4CSPSMILU/ [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/pull/122906 [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/issues/122905 [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64 [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea [No types assigned]
    Added CWE Python Software Foundation CWE-835
    Added CVSS V3.1 Python Software Foundation AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CVSS V4.0 Python Software Foundation 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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-8088 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-8088 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability