{"id":"UBUNTU-CVE-2023-41105","details":"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.","modified":"2026-04-22T16:51:10.323069Z","published":"2023-08-23T07:15:00Z","related":["USN-6547-1","USN-6891-1"],"upstream":["CVE-2023-41105"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-41105"},{"type":"REPORT","url":"https://github.com/python/cpython/pull/107983"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6547-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-41105"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6891-1"}],"affected":[{"package":{"name":"python3.11","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/python3.11@3.11.0~rc1-1~22.04.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.11.0~rc1-1~22.04.1~esm1"}]}],"versions":["3.11.0~rc1-1~22.04"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"3.11.0~rc1-1~22.04.1~esm1","binary_name":"idle-python3.11"},{"binary_name":"libpython3.11","binary_version":"3.11.0~rc1-1~22.04.1~esm1"},{"binary_name":"libpython3.11-minimal","binary_version":"3.11.0~rc1-1~22.04.1~esm1"},{"binary_name":"libpython3.11-stdlib","binary_version":"3.11.0~rc1-1~22.04.1~esm1"},{"binary_name":"libpython3.11-testsuite","binary_version":"3.11.0~rc1-1~22.04.1~esm1"},{"binary_name":"python3.11","binary_version":"3.11.0~rc1-1~22.04.1~esm1"},{"binary_name":"python3.11-examples","binary_version":"3.11.0~rc1-1~22.04.1~esm1"},{"binary_name":"python3.11-full","binary_version":"3.11.0~rc1-1~22.04.1~esm1"},{"binary_name":"python3.11-minimal","binary_version":"3.11.0~rc1-1~22.04.1~esm1"},{"binary_name":"python3.11-nopie","binary_version":"3.11.0~rc1-1~22.04.1~esm1"},{"binary_name":"python3.11-venv","binary_version":"3.11.0~rc1-1~22.04.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-41105.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}