CVE-2023-41105
Published: 23 August 2023
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.
Notes
Author | Note |
---|---|
iconstantin | This behavior change was introduced starting in Python 3.11. |
Priority
Status
Package | Release | Status |
---|---|---|
python Launchpad, Ubuntu, Debian |
trusty |
Ignored
(end of standard support)
|
xenial |
Ignored
(end of standard support)
|
|
bionic |
Ignored
(end of standard support)
|
|
focal |
Does not exist
|
|
jammy |
Does not exist
|
|
lunar |
Does not exist
|
|
upstream |
Needs triage
|
|
mantic |
Does not exist
|
|
python2.7 Launchpad, Ubuntu, Debian |
lunar |
Does not exist
|
upstream |
Needs triage
|
|
bionic |
Not vulnerable
(see notes)
|
|
focal |
Not vulnerable
(see notes)
|
|
jammy |
Not vulnerable
(see notes)
|
|
trusty |
Not vulnerable
(see notes)
|
|
xenial |
Not vulnerable
(see notes)
|
|
mantic |
Does not exist
|
|
python3.4 Launchpad, Ubuntu, Debian |
xenial |
Does not exist
|
bionic |
Does not exist
|
|
focal |
Does not exist
|
|
jammy |
Does not exist
|
|
lunar |
Does not exist
|
|
upstream |
Needs triage
|
|
trusty |
Not vulnerable
(see notes)
|
|
mantic |
Does not exist
|
|
python3.5 Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Does not exist
|
|
jammy |
Does not exist
|
|
lunar |
Does not exist
|
|
upstream |
Needs triage
|
|
trusty |
Not vulnerable
(see notes)
|
|
xenial |
Not vulnerable
(see notes)
|
|
mantic |
Does not exist
|
|
python3.6 Launchpad, Ubuntu, Debian |
trusty |
Does not exist
|
xenial |
Does not exist
|
|
focal |
Does not exist
|
|
jammy |
Does not exist
|
|
lunar |
Does not exist
|
|
upstream |
Needs triage
|
|
bionic |
Not vulnerable
(see notes)
|
|
mantic |
Does not exist
|
|
python3.7 Launchpad, Ubuntu, Debian |
trusty |
Does not exist
|
xenial |
Does not exist
|
|
focal |
Does not exist
|
|
jammy |
Does not exist
|
|
lunar |
Does not exist
|
|
upstream |
Needs triage
|
|
bionic |
Not vulnerable
(see notes)
|
|
mantic |
Does not exist
|
|
python3.8 Launchpad, Ubuntu, Debian |
trusty |
Does not exist
|
xenial |
Does not exist
|
|
jammy |
Does not exist
|
|
lunar |
Does not exist
|
|
upstream |
Needs triage
|
|
bionic |
Not vulnerable
(see notes)
|
|
focal |
Not vulnerable
(see notes)
|
|
mantic |
Does not exist
|
|
python3.9 Launchpad, Ubuntu, Debian |
trusty |
Does not exist
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
jammy |
Does not exist
|
|
lunar |
Does not exist
|
|
upstream |
Needs triage
|
|
focal |
Not vulnerable
(see notes)
|
|
mantic |
Does not exist
|
|
python3.10 Launchpad, Ubuntu, Debian |
trusty |
Does not exist
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
focal |
Does not exist
|
|
lunar |
Does not exist
|
|
upstream |
Needs triage
|
|
jammy |
Not vulnerable
(see notes)
|
|
mantic |
Does not exist
|
|
python3.11 Launchpad, Ubuntu, Debian |
trusty |
Does not exist
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
focal |
Does not exist
|
|
jammy |
Needed
|
|
lunar |
Needed
|
|
mantic |
Not vulnerable
(3.11.6-3)
|
|
upstream |
Released
(3.11.5-1)
|
|
Patches: upstream: https://github.com/python/cpython/pull/107982 |
||
python3.12 Launchpad, Ubuntu, Debian |
trusty |
Does not exist
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
focal |
Does not exist
|
|
jammy |
Does not exist
|
|
lunar |
Does not exist
|
|
upstream |
Needs triage
|
|
mantic |
Not vulnerable
(3.12.0-1)
|
|
Patches: upstream: https://github.com/python/cpython/pull/107981 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | High |
Availability impact | None |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |