BIT-python-min-2023-24329: 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

Who is exposed to this issue?

Applications using Python's urllib.parse to process attacker-controlled URLs and enforce a blocklist may be exposed. The issue affects Python versions before 3.11.4.

2

What does an attacker need to exploit it?

An attacker needs to provide a URL beginning with blank characters to a vulnerable URL-processing path. No authentication or user interaction is required according to the supplied severity vector.

3

What is the impact of successful exploitation?

The attacker can bypass URL blocklisting logic, which can undermine controls intended to prevent access to blocked destinations. The supplied vector indicates an integrity impact and no confidentiality or availability impact.

4

How can I determine whether my application is affected?

Check whether it runs Python earlier than 3.11.4 and relies on urllib.parse output to apply URL blocklists. Test the relevant validation path with URLs prefixed by blank characters.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203