Vulnerability identifier: #VU96745
Vulnerability risk: Medium
CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-185
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 insufficient validation of .tar archives when processing it with regular expressions. A remote attacker can pass specially crafted data to the application and perform regular expression denial of service (ReDos) attack.
Mitigation
Install update 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, 3.8 - 3.8.19
External links
http://github.com/python/cpython/pull/121286
http://github.com/python/cpython/issues/121285
http://mail.python.org/archives/list/security-announce@python.org/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY/
http://github.com/python/cpython/commit/4eaf4891c12589e3c7bdad5f5b076e4c8392dd06
http://github.com/python/cpython/commit/743acbe872485dc18df4d8ab2dc7895187f062c4
http://github.com/python/cpython/commit/d449caf8a179e3b954268b3a88eb9170be3c8fbf
http://github.com/python/cpython/commit/ed3a49ea734ada357ff4442996fd4ae71d253373
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.