CVE-2023-24329: Input Validation

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.

Other sources

An issue in the urllib.parse component of Python before v3.11 allows attackers to bypass blocklisting methods by supplying a URL that starts with blank characters.

https://pointernull.com/security/python-url-parse-problem.html https://github.com/python/cpython/pull/99421

— Red Hat

Python could allow a remote attacker to bypass security restrictions, caused by a flaw in the urllib.parse component. By sending a specially-crafted request using URL starts with blank characters, an attacker could exploit this vulnerability to bypass blocklisting methods.

— IBM

Affected Software

34 affected componentsFixes available
debian/pypy3<=7.3.5+dfsg-2+deb11u2
7.3.5+dfsg-2+deb11u47.3.11+dfsg-2+deb12u37.3.19+dfsg-1
debian/python2.7
2.7.18-8+deb11u1
debian/python3.11
3.11.2-6+deb12u53.11.2-6+deb12u3
debian/python3.9<=3.9.2-1
3.9.2-1+deb11u3
Python Python<3.7.17
Python Python>=3.8.0<3.8.17
Python Python>=3.9.0<3.9.17
Python Python>=3.10.0<3.10.12
Python Python>=3.11.0<3.11.4
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Fedoraproject Fedora=38
NetApp Active Iq Unified Manager Vmware Vsphere
NetApp Active Iq Unified Manager Windows
NetApp Management Services For Element Software
NetApp Management Services For Netapp Hci
NetApp ONTAP Select Deploy administration utility
F5 BIG-IP=17.5.0, >=17.1.0<=17.1.2
17.5.117.1.3
F5 BIG-IP>=16.1.0<=16.1.6
F5 BIG-IP>=15.1.0<=15.1.10
F5 BIG-IP>=14.1.0<=14.1.5
F5 BIG-IP>=13.1.0<=13.1.5
F5 BIG-IP Next CNF=1.1.0
F5 BIG-IP Next SPK>=1.5.0<=1.8.0
F5 BIG-IQ Centralized Management>=8.0.0<=8.4.0
8.4.1
F5 F5OS-A>=1.5.0<=1.5.1, =1.4.0, >=1.3.0<=1.3.2
1.7.0
F5 F5OS-C>=1.5.0<=1.5.1
redhat/python<3.11
3.11
All of the following
azurelinux/python3<3.7.13-6
3.7.13-6
Microsoft CBL-Mariner=1.0
All of the following
azurelinux/python2<2.7.18-12
2.7.18-12
Microsoft CBL-Mariner=1.0
All of the following
azurelinux/python3<3.9.14-8
3.9.14-8
Microsoft CBL-Mariner=2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/pypy3 to a version that resolves this vulnerability.

    Fixed in 7.3.5+dfsg-2+deb11u4Fixed in 7.3.11+dfsg-2+deb12u3Fixed in 7.3.19+dfsg-1
  2. Upgrade

    Upgrade debian/python2.7 to a version that resolves this vulnerability.

    Fixed in 2.7.18-8+deb11u1
  3. Upgrade

    Upgrade debian/python3.11 to a version that resolves this vulnerability.

    Fixed in 3.11.2-6+deb12u5Fixed in 3.11.2-6+deb12u3
  4. Upgrade

    Upgrade debian/python3.9 to a version that resolves this vulnerability.

    Fixed in 3.9.2-1+deb11u3
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 17.5.117.1.3
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.4.1
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.7.0
  8. Upgrade

    Upgrade redhat/python to a version that resolves this vulnerability.

    Fixed in 3.11
  9. Upgrade

    Upgrade azurelinux/python2 to a version that resolves this vulnerability.

    Fixed in 2.7.18-12
  10. Upgrade

    Upgrade azurelinux/python3 to a version that resolves this vulnerability.

    Fixed in 3.7.13-6
  11. Upgrade

    Upgrade azurelinux/python3 to a version that resolves this vulnerability.

    Fixed in 3.9.14-8
  12. Upgrade

    Upgrade Python urllib.parse to a version that resolves this vulnerability.

    Fixed in 3.11.4

Event History

Feb 17, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via OSV·12:00 AM
DescriptionSeverity
Updated
via Ubuntu·12:00 AM
Remedy
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Data Sourced
03:15 PM
Weakness
Feb 27, 2023
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
Affected Software
Aug 21, 2023
Advisory Published
via F5·10:17 PM
Data Sourced
via F5·10:17 PM
DescriptionSeverityWeaknessAffected Software
Oct 27, 2023
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
via IBM·12:00 AM
Affected Software
Nov 7, 2023
Updated
via NVD·04:08 AM
Affected Software
Nov 8, 2023
Data Sourced
via Red Hat·09:36 AM
DescriptionSeverityAffected Software
Nov 21, 2024
Updated
via NVD·07:47 AM
RemedyAffected Software
Feb 4, 2025
Updated
via IBM·12:00 AM
Affected Software
Mar 12, 2025
Updated
via IBM·12:00 AM
Affected Software
Mar 14, 2025
Updated
via IBM·12:00 AM
Affected Software
Mar 18, 2025
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·05:15 PM
RemedySeverityWeaknessAffected Software
Updated
via NVD·05:15 PM
SeverityWeaknessAffected Software
Mar 27, 2025
Advisory Published
via F5·04:40 AM
Jun 27, 2025
Updated
via F5·08:22 AM
Affected Software
Oct 15, 2025
Updated
via F5·07:43 AM
Affected Software
Nov 3, 2025
Updated
via NVD·10:16 PM
Affected Software
Feb 6, 2026
Updated
via F5·04:25 AM
Affected Software
Oct 14, 2026
Updated
via NVD·11:17 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2023-24329?

CVE-2023-24329 is an issue in the urllib.parse component of Python before version 3.11.4 that allows attackers to bypass blocklisting methods.

2

How severe is CVE-2023-24329?

CVE-2023-24329 has a severity rating of high (7).

3

Which software versions are affected by CVE-2023-24329?

CVE-2023-24329 affects Python versions up to but excluding 3.11.4.

4

How can the vulnerability be fixed?

To fix the vulnerability, users should update their Python installation to version 3.11.4 or later.

5

Where can I find more information about CVE-2023-24329?

More information about CVE-2023-24329 can be found at the following references: [link1](https://pointernull.com/security/python-url-parse-problem.html), [link2](https://github.com/python/cpython/pull/99421), [link3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2174012).

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