Vulnerability identifier: #VU72618
Vulnerability risk: Medium
CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID: CVE-2023-24329
CWE-ID:
CWE-20
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 bypass implemented filters.
The vulnerability exists due to insufficient validation of URLs that start with blank characters within urllib.parse component of Python. A remote attacker can pass specially crafted URL to bypass existing filters.
Mitigation
Install update from vendor's website.
Vulnerable software versions
Python: 3.7 - 3.7.16, 3.8 - 3.8.16, 3.9.0b4 - 3.9.16, 3.10.0 - 3.11.3
External links
https://pointernull.com/security/python-url-parse-problem.html
https://github.com/python/cpython/pull/99421
https://github.com/python/cpython/issues/102153
https://docs.python.org/3.10/whatsnew/changelog.html#python-3-10-12-final
https://docs.python.org/3.9/whatsnew/changelog.html#python-3-9-17-final
https://docs.python.org/3.8/whatsnew/changelog.html#python-3-8-17-final
https://docs.python.org/3.7/whatsnew/changelog.html#python-3-7-17-final
https://docs.python.org/3.11/whatsnew/changelog.html#python-3-11-14-final
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.