An issue was discovered in Python 3.11 through 3.11.4.
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-426.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | 3.11.0 – 3.11.4 | Vulnerable | python-pillow |
| cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* | not specified by NVD | Vulnerable | NetApp |
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions 3.11.0 – 3.11.4 Vulnerable ·python-pillow
- cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* Versions not specified by NVD Vulnerable ·NetApp
Remediation
Red Hat 2 advisories
- RHSA-2023:7024 Released 2023-11-14 · Red Hat rating Moderatepython3.11 security update
- Red Hat CodeReady Linux Builder (v. 8) python3.11-3.11.5-1.el8_9, python3.11-debug-3.11.5-1.el8_9, python3.11-idle-3.11.5-1.el8_9 +2
- Red Hat Enterprise Linux AppStream (v. 8) python3.11-3.11.5-1.el8_9, python3.11-devel-3.11.5-1.el8_9, python3.11-libs-3.11.5-1.el8_9 +2
- RHSA-2023:6494 Released 2023-11-07 · Red Hat rating Moderatepython3.11 security update
- Red Hat CodeReady Linux Builder (v. 9) python3.11-3.11.5-1.el9_3, python3.11-debug-3.11.5-1.el9_3, python3.11-idle-3.11.5-1.el9_3 +2
- Red Hat Enterprise Linux AppStream (v. 9) python3.11-3.11.5-1.el9_3, python3.11-devel-3.11.5-1.el9_3, python3.11-libs-3.11.5-1.el9_3 +1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2023:7024 |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2023:6494 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:7024 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:6494 |
Not affected: 5 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2023-41105
- 2026-10-03 Alias added: GHSA-65fx-pmw6-rcfm
References
Patch 4
Sources
- CVE-2023-41105 · CVE Program
- CVE-2023-41105 · NVD
- FIRST EPSS
- GHSA-65fx-pmw6-rcfm · GitHub Advisory Database · CC BY 4.0
- CVE-2023-41105 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences