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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n/a n/a
n/aaffected
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/ ↗