{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-41105","id":"CVE-2023-41105","title":"os.path.normpath() truncates on null bytes","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.","descriptionLong":"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.","published":"2023-08-23T00:00:00.000Z","updated":"2026-11-10T10:31:10.108359815Z","reserved":"2023-08-23T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-426"],"aliases":["BIT-libpython-2023-41105","BIT-python-2023-41105","BIT-python-min-2023-41105","PSF-2023-9"],"references":[{"url":"https://github.com/python/cpython/issues/106242","tags":["x_transferred","Issue Tracking","Patch","report","web"]},{"url":"https://github.com/python/cpython/pull/107983","tags":["x_transferred","Patch","fix"]},{"url":"https://github.com/python/cpython/pull/107981","tags":["x_transferred","Patch","fix"]},{"url":"https://github.com/python/cpython/pull/107982","tags":["x_transferred","Patch","fix"]},{"url":"https://mail.python.org/archives/list/security-announce%40python.org/thread/D6CDW3ZZC5D444YGL3VQUY6D4ECMCQLD/","tags":["x_transferred","web"]},{"url":"https://security.netapp.com/advisory/ntap-20231006-0015/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41105.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-41105","tags":["advisory"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/D6CDW3ZZC5D444YGL3VQUY6D4ECMCQLD/","tags":["advisory"]},{"url":"https://github.com/python/cpython/pull/106816","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.02587,"epssPercentile":0.85594,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-41105","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-41105","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-41105","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-41105","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}