Insecure functionality In python3.13
Description
There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives. This vulnerability can be mitigated by including the following patch after importing the “tarfile” module: https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 14 | 3.13.6-1 | ||
debian 12 | 3.11.2-6+deb12u7 | ||
debian 13 | 3.13.5-2+deb13u1 | ||
debian 12 | - | ||
debian 13 | - | ||
debian 14 | 7.3.21+dfsg-1 | ||
rpm rhel8 | 0:3.9.20-2.module+el8.10.0+23441+1124c1da | ||
rpm rhel9 | 0:3.9.21-2.el9_6.2 | ||
rpm rhel9.4 | 0:3.9.18-3.el9_4.9 | ||
rpm rhel8 | - | - |
1-10 of 22
10
Aliases
1. 2. 3. 4. 5. 6. 7. 8.
References
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12.