CVE-2023-41105 — An issue was discovered in Python 3
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 file
Published
2023-08-23T00:00:00.000Z
Last modified
2024-10-03T14:04:01.955Z
01What is this vulnerability?
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.
02Affected products
| Vendor | Product | Versions |
|---|
| n | a / n/a | n/a |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:
Open in Sigma generator →
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2023-08-23T00:00:00.000Z
- Last modified: 2024-10-03T14:04:01.955Z
09References
- github.com — https://github.com/python/cpython/issues/106242
- github.com — https://github.com/python/cpython/pull/107983
- github.com — https://github.com/python/cpython/pull/107981
- github.com — https://github.com/python/cpython/pull/107982
- mail.python.org — https://mail.python.org/archives/list/security-announce%40python.org/thread/D6CD…
- security.netapp.com — https://security.netapp.com/advisory/ntap-20231006-0015/
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →