CVE-2023-24329 Security feature bypass in n/a

High 7.5 Published Updated

Attackers can bypass URL blocklisting mechanisms in Python's urllib.parse by using leading blank characters, potentially allowing access to restricted resources.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-24329?

CVE-2023-24329 is a high-severity vulnerability in Fedoraproject Fedora, published on 17 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-20

Which versions are affected by CVE-2023-24329?

3 open source packages ship an affected version, including libpython, python and python-min. It affects 6 products.

PackageAffectedFixed in
libpython BitnamiAll versions3.7.17, 3.8.17, 3.9.17, 3.10.12, 3.11.4
python BitnamiAll versions3.7.17, 3.8.17, 3.9.17, 3.10.12, 3.11.4
python-min BitnamiAll versions3.7.17, 3.8.17, 3.9.17, 3.10.12, 3.11.4
Linux distribution packages (37)
babel AlmaLinux:8All versions2.5.1-10.module_el8.6.0+2781+fed64c13
platform-python AlmaLinux:8All versions3.6.8-51.el8_8.1.alma
platform-python-debug AlmaLinux:8All versions3.6.8-51.el8_8.1.alma
platform-python-devel AlmaLinux:8All versions3.6.8-51.el8_8.1.alma
python-nose-docs AlmaLinux:8All versions1.3.7-31.module_el8.6.0+2781+fed64c13
python-psycopg2-doc AlmaLinux:8All versions2.7.5-7.module_el8.6.0+2781+fed64c13
python-psycopg2-doc AlmaLinux:8All versions2.7.5-7.module_el8.6.0+3162+01a09e5a
python-sqlalchemy-doc AlmaLinux:8All versions1.3.2-2.module_el8.6.0+2781+fed64c13
python2 AlmaLinux:8All versions2.7.18-13.module_el8.8.0+3580+eeda85da.1.alma
python2-Cython AlmaLinux:8All versions0.28.1-7.module_el8.6.0+2781+fed64c13
python2-Cython AlmaLinux:8All versions0.28.1-7.module_el8.6.0+3162+01a09e5a
python2-PyMySQL AlmaLinux:8All versions0.8.0-10.module_el8.6.0+2781+fed64c13
python2-attrs AlmaLinux:8All versions17.4.0-10.module_el8.6.0+2781+fed64c13
python2-babel AlmaLinux:8All versions2.5.1-10.module_el8.6.0+2781+fed64c13
python2-backports AlmaLinux:8All versions1.0-16.module_el8.6.0+2781+fed64c13
python2-backports AlmaLinux:8All versions1.0-16.module_el8.6.0+3162+01a09e5a
python2-backports-ssl_match_hostname AlmaLinux:8All versions3.5.0.1-12.module_el8.6.0+2781+fed64c13
python2-bson AlmaLinux:8All versions3.7.0-1.module_el8.6.0+2781+fed64c13
python2-bson AlmaLinux:8All versions3.7.0-1.module_el8.6.0+3162+01a09e5a
python2-chardet AlmaLinux:8All versions3.0.4-10.module_el8.6.0+2781+fed64c13
python2-coverage AlmaLinux:8All versions4.5.1-4.module_el8.6.0+2781+fed64c13
python2-coverage AlmaLinux:8All versions4.5.1-4.module_el8.6.0+3162+01a09e5a
python2-debug AlmaLinux:8All versions2.7.18-13.module_el8.8.0+3580+eeda85da.1.alma
python2-devel AlmaLinux:8All versions2.7.18-13.module_el8.8.0+3580+eeda85da.1.alma
python2-dns AlmaLinux:8All versions1.15.0-10.module_el8.6.0+2781+fed64c13
python2-docs AlmaLinux:8All versions2.7.16-2.module_el8.6.0+2781+fed64c13
python2-docs-info AlmaLinux:8All versions2.7.16-2.module_el8.6.0+2781+fed64c13
python2-docutils AlmaLinux:8All versions0.14-12.module_el8.6.0+2781+fed64c13
python2-funcsigs AlmaLinux:8All versions1.0.2-13.module_el8.6.0+2781+fed64c13
python2-idna AlmaLinux:8All versions2.5-7.module_el8.6.0+2781+fed64c13
python2-ipaddress AlmaLinux:8All versions1.0.18-6.module_el8.6.0+2781+fed64c13
python2-jinja2 AlmaLinux:8All versions2.10-9.module_el8.6.0+2781+fed64c13
python2-libs AlmaLinux:8All versions2.7.18-13.module_el8.8.0+3580+eeda85da.1.alma
python2-lxml AlmaLinux:8All versions4.2.3-6.module_el8.6.0+2781+fed64c13
python2-lxml AlmaLinux:8All versions4.2.3-6.module_el8.6.0+3162+01a09e5a
python2-markupsafe AlmaLinux:8All versions0.23-19.module_el8.6.0+2781+fed64c13
python2-markupsafe AlmaLinux:8All versions0.23-19.module_el8.6.0+3162+01a09e5a

Products include Fedoraproject Fedora, Netapp Active Iq Unified Manager, Netapp Management Services for Element Software, Netapp Management Services for Netapp Hci, Netapp Ontap Select Deploy Administration Utility, Python Python.

How do I fix CVE-2023-24329?

Upgrade libpython to a fixed version for your release line: 3.7.17, 3.8.17, 3.9.17 or 3.10.12.

Is CVE-2023-24329 being exploited?

There is no known exploitation of CVE-2023-24329 in the wild and no public exploit code.

Public exploit code: 5 proofs of concept on GitHub.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALSA-2023:3585, ALSA-2023:3591, ALSA-2023:3594, ALSA-2023:3595, ALSA-2023:3780, ALSA-2023:3781 and 74 more.

Is CVE-2023-24329 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free