#VU96596 Infinite loop in Python


Published: 2024-08-28 | Updated: 2024-09-09

Vulnerability identifier: #VU96596

Vulnerability risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-8088

CWE-ID: CWE-835

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Python
Universal components / Libraries / Scripting languages

Vendor: Python.org

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop within the the CPython "zipfile" module affecting "zipfile.Path". A remote attacker can consume all available system resources and cause denial of service conditions.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Python: 3.12.0 - 3.12.5, 3.11.0 - 3.11.9, 3.10.0 - 3.10.14, 3.9.0 - 3.9.19


External links
http://mail.python.org/archives/list/security-announce@python.org/thread/GNFCKVI4TCATKQLALJ5SN4L4CSPSMILU/
http://github.com/python/cpython/pull/122906
http://github.com/python/cpython/issues/122905
http://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e
http://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64
http://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea
http://github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16db
http://github.com/advisories/GHSA-q98g-hxg3-268c


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability