#VU72618 Input validation error in Python - CVE-2023-24329
Published: February 28, 2023 / Updated: September 1, 2023
Vulnerability identifier: #VU72618
Vulnerability risk: Medium
CVSSv4.0: 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: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Python
Python
Software vendor:
Python.org
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.
Remediation
Install update from vendor's website.
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