PSF-2023-1: High severity Python urllib.parse vulnerability
Published Feb 17, 2023
·Updated
An issue in the urllib.parse component of Python before 3.11.4 allows attackers to bypass blocklisting methods by supplying a URL that starts with blank characters.
Affected Software
1 affected component
Python urllib.parse<3.11.4
Event History
Feb 17, 2023
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverity
Frequently Asked Questions
1
Which deployments are exposed?
Applications that use Python's urllib.parse to process URLs and rely on blocklisting decisions are exposed when running a Python version before 3.11.4.
2
What does an attacker need to control?
The attacker needs to be able to supply a URL to the affected application. A URL beginning with blank characters can bypass the application's blocklisting method.
3
How can I determine whether an application is affected?
Check the Python version used by the application and whether it uses urllib.parse as part of URL blocklisting. Versions before 3.11.4 meet the affected-version condition described in the advisory.