Python Software Foundation CPython
Tarfile extracts filtered members when errorlevel=0
When using a TarFile.errorlevel = 0 and extracting with a filter the documented behavior is that any filtered members would be skipped and not extracted. However the actual behavior of TarFile.errorlevel = 0 in affected versions is that the member would still be extracted and not skipped.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-682
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Python Software Foundation CPython
- < 3.9.23
- >= 3.10.0, < 3.10.18
- >= 3.11.0, < 3.11.13
- >= 3.12.0, < 3.12.11
- >= 3.13.0, < 3.13.4
- >= 3.14.0a1, < 3.14.0b3
Fixed in 3.9.23, 3.10.18, 3.11.13, 3.12.11, 3.13.4, 3.14.0b3
Mitigation
Upgrade CPython to 3.9.23 or 3.10.18 or 3.11.13 or 3.12.11 or 3.13.4 or 3.14.0b3 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.