Vulnerability · Published Aug 23, 2023 · Assigned by mitre
CVE-2023-41105
High 7.5
In plain English
A high-severity security flaw in the python3.11 package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.6%top 14.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | python3.11 | 3.11.5-1.el8_9 | ALSA-2023:7024 |
| AlmaLinux:9 | python3.11 | 3.11.5-1.el9_3 | ALSA-2023:6494 |
| AlmaLinux:8 | python3.11-debug | 3.11.5-1.el8_9 | ALSA-2023:7024 |
| AlmaLinux:9 | python3.11-debug | 3.11.5-1.el9_3 | ALSA-2023:6494 |
| AlmaLinux:8 | python3.11-devel | 3.11.5-1.el8_9 | ALSA-2023:7024 |
| AlmaLinux:9 | python3.11-devel | 3.11.5-1.el9_3 | ALSA-2023:6494 |
| AlmaLinux:8 | python3.11-idle | 3.11.5-1.el8_9 | ALSA-2023:7024 |
| AlmaLinux:9 | python3.11-idle | 3.11.5-1.el9_3 | ALSA-2023:6494 |
| AlmaLinux:8 | python3.11-libs | 3.11.5-1.el8_9 | ALSA-2023:7024 |
| AlmaLinux:9 | python3.11-libs | 3.11.5-1.el9_3 | ALSA-2023:6494 |
| AlmaLinux:8 | python3.11-rpm-macros | 3.11.5-1.el8_9 | ALSA-2023:7024 |
| AlmaLinux:8 | python3.11-test | 3.11.5-1.el8_9 | ALSA-2023:7024 |
| AlmaLinux:9 | python3.11-test | 3.11.5-1.el9_3 | ALSA-2023:6494 |
| AlmaLinux:8 | python3.11-tkinter | 3.11.5-1.el8_9 | ALSA-2023:7024 |
| AlmaLinux:9 | python3.11-tkinter | 3.11.5-1.el9_3 | ALSA-2023:6494 |
| Debian:12 | python3.11 | 3.11.2-6+deb12u2 | DEBIAN-CVE-2023-41105 |
| Ubuntu:22.04:LTS | python3.10 | 3.10.12-1~22.04.4 | USN-6891-1 |
Affected products (as reported)
References
- https://github.com/python/cpython/issues/106242
- https://github.com/python/cpython/pull/107983
- https://github.com/python/cpython/pull/107981
- https://github.com/python/cpython/pull/107982
- https://mail.python.org/archives/list/security-announce%40python.org/thread/D6CDW3ZZC5D444YGL3VQUY6D4ECMCQLD/
- https://security.netapp.com/advisory/ntap-20231006-0015/