PT-2023-4571 · Python+11 · Python+11

Yebo Cao

·

Published

2023-02-17

·

Updated

2025-11-07

·

CVE-2023-24329

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:C/A:N
Name of the Vulnerable Software and Affected Versions Python versions prior to 3.11.4
Description A critical issue in the urllib.parse component of Python allows attackers to bypass blocklisting methods by supplying a URL that starts with blank characters, enabling domain filter bypass, file reads, and command execution. This flaw could be exploited to bypass security restrictions, potentially leading to arbitrary file reads and command execution. The estimated number of potentially affected devices worldwide is not specified. There is no information about real-world incidents where this issue was exploited.
Recommendations For Python versions prior to 3.11.4, update to version 3.11.4 or later to resolve the issue. As a temporary workaround, consider using the strip() function before parsing URLs to remove leading blank characters. Restrict access to the vulnerable urllib.parse component to minimize the risk of exploitation. Avoid using URLs that start with blank characters in the affected API endpoints until the issue is resolved.

Exploit

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2023:3585
ALSA-2023:3591
ALSA-2023:3594
ALSA-2023:3595
ALSA-2023:3780
ALSA-2023:3781
ALSA-2023:3811
ALT-PU-2023-1951
ALT-PU-2024-2511
ALT-PU-2024-2598
ALT-PU-2024-3474
ALT-PU-2024-6382
AZL-31165
BDU:2023-04978
BIT-LIBPYTHON-2023-24329
BIT-PYTHON-2023-24329
BIT-PYTHON-MIN-2023-24329
CESA-2023_3555
CESA-2023_3556
CESA-2023_3591
CESA-2023_3594
CESA-2023_3780
CESA-2023_3781
CESA-2023_3811
CVE-2023-24329
DLA-3575-1
DLA-3948-1
DLA-3980-1
MGASA-2024-0084
OESA-2023-1227
OPENSUSE-SU-2023_2884-1
OPENSUSE-SU-2023_2937-1
OPENSUSE-SU-2023_2957-1
OPENSUSE-SU-2024:12741-1
OPENSUSE-SU-2024:12742-1
OPENSUSE-SU-2024:12747-1
OPENSUSE-SU-2024:12748-1
OPENSUSE-SU-2024:12752-1
OPENSUSE-SU-2024:13032-1
OPENSUSE-SU-2024:13038-1
OPENSUSE-SU-2024:14109-1
OPENSUSE-SU-2024:14434-1
OPENSUSE-SU-2025:15713-1
PSF-2023-1
RHSA-2023:3550
RHSA-2023:3555
RHSA-2023:3556
RHSA-2023:3585
RHSA-2023:3591
RHSA-2023:3594
RHSA-2023:3595
RHSA-2023:3776
RHSA-2023:3777
RHSA-2023:3780
RHSA-2023:3781
RHSA-2023:3796
RHSA-2023:3810
RHSA-2023:3811
RHSA-2023:3931
RHSA-2023:3932
RHSA-2023:3934
RHSA-2023:3935
RHSA-2023:3936
RHSA-2023:4004
RHSA-2023:4008
RHSA-2023:4032
RHSA-2023:4038
RHSA-2023:4203
RHSA-2023:4282
RHSA-2023:6793
RHSA-2023_3555
RHSA-2023_3556
RHSA-2023_3585
RHSA-2023_3591
RHSA-2023_3594
RHSA-2023_3595
RHSA-2023_3780
RHSA-2023_3781
RHSA-2023_3811
RLSA-2023:3585
RLSA-2023:3591
RLSA-2023:3594
RLSA-2023:3595
RLSA-2023:3780
RLSA-2023:3781
RLSA-2023:3811
ROSA-SA-2023-2202
ROSA-SA-2023-2203
ROSA-SA-2025-2646
ROSA-SA-2025-2676
SUSE-SU-2023:0662-1
SUSE-SU-2023:0663-1
SUSE-SU-2023:0707-1
SUSE-SU-2023:0724-1
SUSE-SU-2023:0736-1
SUSE-SU-2023:0748-1
SUSE-SU-2023:0868-1
SUSE-SU-2023:0868-2
SUSE-SU-2023:2639-1
SUSE-SU-2023:2884-1
SUSE-SU-2023:2937-1
SUSE-SU-2023:2957-1
SUSE-SU-2023_0662-1
SUSE-SU-2023_0736-1
SUSE-SU-2023_0868-1
SUSE-SU-2023_2639-1
SUSE-SU-2023_2957-1
USN-5888-1
USN-5960-1
USN-6139-1
USN-6891-1
USN-7180-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Ibm Aix
Linuxmint
Python
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu