PyPi: Python

CVE-2023-41105

Safety vulnerability ID: 60640

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Aug 23, 2023 Updated at Nov 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

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.
https://github.com/python/cpython/issues/106242
https://github.com/advisories/GHSA-65fx-pmw6-rcfm

Affected package

python

Latest version: 0.9.8

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2023-41105.


MISC:https://github.com/python/cpython/issues/106242: https://github.com/python/cpython/issues/106242
MISC:https://github.com/python/cpython/pull/107981: https://github.com/python/cpython/pull/107981
MISC:https://github.com/python/cpython/pull/107982: https://github.com/python/cpython/pull/107982
MISC:https://github.com/python/cpython/pull/107983: https://github.com/python/cpython/pull/107983

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
NONE
Integrity Impact (I)
HIGH
Availability Availability (A)
NONE