cve.bz

CVE-2023-24329 Improper Input Validation

7.5 highExploit referenceEPSS 20%Fix available

High (7.5). EPSS 20% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
20% (unchanged from 20% a week ago; 20% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-03-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-24329 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-24329?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-24329?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-24329 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-24329

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-24329](https://cve.bz/cve/badge/CVE-2023-24329.svg)](https://cve.bz/cve/CVE-2023-24329)

HTML:

<a href="https://cve.bz/cve/CVE-2023-24329"><img src="https://cve.bz/cve/badge/CVE-2023-24329.svg" alt="CVE-2023-24329"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pythonbefore 3.7.17
python:pythonfrom 3.8.0 before 3.8.17
python:pythonfrom 3.9.0 before 3.9.17
python:pythonfrom 3.10.0 before 3.10.12
python:pythonfrom 3.11.0 before 3.11.4
fedoraproject:fedora36
fedoraproject:fedora37
fedoraproject:fedora38

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10python2.72.7.16-2+deb10u3DLA-3575-1
Debian11pypy37.3.5+dfsg-2+deb11u3DLA-3948-1
Debian11python3.93.9.2-1+deb11u2DLA-3980-1
Debian12pypy37.3.11+dfsg-2+deb12u2DEBIAN-CVE-2023-24329
Debian12python3.113.11.2-6+deb12u2DEBIAN-CVE-2023-24329
Debian13, 14pypy37.3.12+dfsg-1DEBIAN-CVE-2023-24329
Ubuntu18.04:LTSpython2.72.7.17-1~18.04ubuntu1.11USN-5960-1
Ubuntu18.04:LTSpython3.63.6.9-1~18.04ubuntu1.12USN-5960-1
Ubuntu20.04:LTSpython2.72.7.18-1~20.04.7UBUNTU-CVE-2023-24329 USN-7180-1
Ubuntu20.04:LTSpython3.83.8.10-0ubuntu1~20.04.8UBUNTU-CVE-2023-24329 USN-5960-1 USN-6139-1 USN-6891-1
Ubuntu22.04:LTSpython2.72.7.18-13ubuntu1.5UBUNTU-CVE-2023-24329 USN-7180-1
Ubuntu22.04:LTSpython3.103.10.6-1~22.04.2ubuntu1.1UBUNTU-CVE-2023-24329 USN-5960-1 USN-6139-1 USN-6891-1
UbuntuPro:14.04:LTSpython2.72.7.6-8ubuntu0.6+esm15UBUNTU-CVE-2023-24329 USN-5960-1 USN-6139-1
UbuntuPro:14.04:LTSpython3.4no fix listedUBUNTU-CVE-2023-24329
UbuntuPro:14.04:LTSpython3.53.5.2-2ubuntu0~16.04.4~14.04.1+esm1UBUNTU-CVE-2023-24329 USN-6891-1
UbuntuPro:16.04:LTSpython2.72.7.12-1ubuntu0~16.04.18+esm5UBUNTU-CVE-2023-24329 USN-5960-1 USN-6139-1
UbuntuPro:16.04:LTSpython3.53.5.2-2ubuntu0~16.04.13+esm8UBUNTU-CVE-2023-24329 USN-5960-1 USN-6139-1 USN-6891-1
UbuntuPro:18.04:LTSpython2.72.7.17-1~18.04ubuntu1.13UBUNTU-CVE-2023-24329 USN-6139-1
5 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationpython, tkinter, python-libs and 5 more0:2.7.5-93.el7_9RHSA-2023:3555
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationpython3, python3-idle, python3-libs and 5 more0:3.6.8-19.el7_9RHSA-2023:3556
Red Hatenterprise_linux:7::computenodepython3, python3-idle, python3-test and 4 more0:3.6.8-19.el7_9RHSA-2023:3556
Red Hatenterprise_linux:7::computenodetkinter, python-test, python-debug and 2 more0:2.7.5-93.el7_9RHSA-2023:3555
Red Hatenterprise_linux:8::appstreamCython, python2-Cython, Cython-debugsource and 1 more0:0.28.1-7.module+el8.1.0+3111+de3f2d8eRHSA-2023:3780
Red Hatenterprise_linux:8::appstreamCython, python38-Cython, Cython-debugsource and 1 more0:0.29.14-4.module+el8.4.0+8888+89bc7e79RHSA-2023:3781
Red Hatenterprise_linux:8::appstreamPyYAML, python2-pyyaml, PyYAML-debugsource and 1 more0:3.12-16.module+el8.1.0+3111+de3f2d8eRHSA-2023:3780
Red Hatenterprise_linux:8::appstreamPyYAML, python38-pyyaml, PyYAML-debugsource and 1 more0:5.4.1-1.module+el8.5.0+10721+14d8e0d5RHSA-2023:3781
Red Hatenterprise_linux:8::appstreamPyYAML, python39-pyyaml, PyYAML-debugsource and 1 more0:5.4.1-1.module+el8.5.0+10613+59a13ec4RHSA-2023:3811
Red Hatenterprise_linux:8::appstreambabel, python2-babel0:2.5.1-10.module+el8.5.0+11014+88fc0d0bRHSA-2023:3780
Red Hatenterprise_linux:8::appstreambabel, python38-babel0:2.7.0-11.module+el8.5.0+11015+9c1c7c42RHSA-2023:3781
Red Hatenterprise_linux:8::appstreammod_wsgi, python38-mod_wsgi0:4.6.8-4.module+el8.7.0+16653+23ccaf52RHSA-2023:3781
265 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Versions of python36:3.6/python36 as shipped with Red Hat Enterprise Linux 8 are marked as 'Not affected' as they just provide "symlinks" to the main python3 component, which provides the actual interpreter of the Python programming language.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6 Extended Lifecycle Supportpython-0:2.6.6-69.el6_10Fixed 2023-06-08RHSA-2023:3550
Red Hat Enterprise Linux 7python-0:2.7.5-93.el7_9Fixed 2023-06-09RHSA-2023:3555
Red Hat Enterprise Linux 7python3-0:3.6.8-19.el7_9Fixed 2023-06-09RHSA-2023:3556
Red Hat Enterprise Linux 8python3-0:3.6.8-51.el8_8.1Fixed 2023-06-14RHSA-2023:3591
Red Hat Enterprise Linux 8python3.11-0:3.11.2-2.el8_8.1Fixed 2023-06-14RHSA-2023:3594
Red Hat Enterprise Linux 8python27:2.7-8080020230609134836.392b0bf1Fixed 2023-06-22RHSA-2023:3780
Red Hat Enterprise Linux 8python38:3.8-8080020230531142020.a822e92fFixed 2023-06-22RHSA-2023:3781
Red Hat Enterprise Linux 8python38-devel:3.8-8080020230531142020.a822e92fFixed 2023-06-22RHSA-2023:3781
Red Hat Enterprise Linux 8python39:3.9-8080020230531142208.93c2fc2fFixed 2023-06-27RHSA-2023:3811
Red Hat Enterprise Linux 8python39-devel:3.9-8080020230531142208.93c2fc2fFixed 2023-06-27RHSA-2023:3811
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionspython27:2.7-8010020230614130243.208b345fFixed 2023-06-29RHSA-2023:3932
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionspython3-0:3.6.8-15.1.el8_1.1Fixed 2023-06-29RHSA-2023:3936
Red Hat Enterprise Linux 8.2 Advanced Update Supportpython27:2.7-8020020230614130117.c9f5743fFixed 2023-06-22RHSA-2023:3777
Red Hat Enterprise Linux 8.2 Advanced Update Supportpython3-0:3.6.8-24.el8_2.1Fixed 2023-06-29RHSA-2023:3935
Red Hat Enterprise Linux 8.2 Advanced Update Supportpython38:3.8-8020020230628091203.8c0020b9Fixed 2023-07-12RHSA-2023:4038
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicepython27:2.7-8020020230614130117.c9f5743fFixed 2023-06-22RHSA-2023:3777
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicepython3-0:3.6.8-24.el8_2.1Fixed 2023-06-29RHSA-2023:3935
Red Hat Enterprise Linux 8gimp:flatpak/python2Affected
Red Hat Enterprise Linux 8inkscape:flatpak/python2Affected
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
27 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-24329.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-105-08ABB M2M Gateway2025-04-07EnergyABB M2M Gateway ARM600, firmware versions = 4.1.2 <= 5.0.3, ABB M2M Gateway SW, software versions = 5.0.1 <= 5.0.3none listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON