CVE-2023-41105: High severity Python Python vulnerability

Published Aug 23, 2023
·
Updated

An issue was discovered in Python 3.11 through 3.11.4. If a path containing '\0' bytes is passed to os.path.normpath(), the path will be truncated unexpectedly at the first '\0' byte. There are plausible cases in which an application would have rejected a filename for security reasons in Python 3.10.x or earlier, but that filename is no longer rejected in Python 3.11.x.

Other sources

Python could allow a local authenticated attacker to bypass security restrictions, caused by a flaw with os.path.normpath truncates input on null bytes. By sending a specially crafted request, an attacker could exploit this vulnerability to allow wrong files or directories being used,.

IBM

Affected Software

7 affected componentsFixes available
redhat/Pyhton<3.11.5
3.11.5
Python Python>=3.11.0<=3.11.4
NetApp Active Iq Unified Manager Windows
debian/python2.7
2.7.18-8+deb11u1
debian/python3.11
3.11.2-6+deb12u53.11.2-6+deb12u3
debian/python3.12
3.12.10-1
debian/python3.9
3.9.2-13.9.2-1+deb11u3

Event History

Aug 23, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Aug 29, 2023
Data Sourced
via Red Hat·06:49 PM
DescriptionSeverityAffected Software
Jan 12, 2024
Data Sourced
via Launchpad·07:32 PM
Description
Sep 13, 2024
Data Sourced
via Ubuntu·12:55 PM
RemedyDescriptionSeverityAffected Software
Feb 4, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-41105?

CVE-2023-41105 is a vulnerability in Python 3.11 through 3.11.4 that allows a path containing '\0' bytes to be truncated unexpectedly at the first '\0' byte.

2

How does CVE-2023-41105 affect Python?

CVE-2023-41105 affects Python versions 3.11 through 3.11.4.

3

What is the severity of CVE-2023-41105?

CVE-2023-41105 has a severity rating of 7.5 out of 10.

4

How can CVE-2023-41105 be exploited?

CVE-2023-41105 can be exploited by passing a path containing '\0' bytes to the os.path.normpath() function in Python.

5

Is there a patch available for CVE-2023-41105?

Yes, patches are available for Python versions 3.11 through 3.11.4 to address CVE-2023-41105.

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