SB2023022819 - Improper URL validation in Python urllib.parse
Published: February 28, 2023 Updated: September 1, 2023
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Input validation error (CVE-ID: CVE-2023-24329)
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.
References
- 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