Summary
This update for python3 fixes the following issues:
Security fixes:
- CVE-2025-4517: Fixed arbitrary filesystem writes outside the extraction directory during extraction
with filter='data' (bsc#1244032)
- CVE-2025-4330: Fixed extraction filter bypass for linking outside extraction directory (bsc#1244060)
- CVE-2007-4559: Fixed python tarfile module directory traversal (bsc#1203750)
- CVE-2024-12718: Fixed bypass extraction filter to modify file metadata outside extraction directory
(bsc#1244056)
- CVE-2025-4138: Fixed symlinking targets to not point outside the destination directory, and the modification
of some file metadata (bsc#1244059)
- CVE-2025-4435: Fixed tarfile extracting filtered members when errorlevel=0 (bsc#1244061)
Other fixes:
- Fixed two shebangs with /usr/local/bin/python
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5-LTSS | python3 | 3.4.10-25.169.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server 12 SP5-LTSS | python3-base | 3.4.10-25.169.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server LTSS Extended Security 12 SP5 | python3 | 3.4.10-25.169.1 |
| SUSE · SLES 12 SP5 Linux Enterprise Server LTSS Extended Security 12 SP5 | python3-base | 3.4.10-25.169.1 |
Vulnerabilities 6
-
Critical 9.8
Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allow…
-
Critical 9.4CVE-2025-4517 Public exploit
Arbitrary writes via tarfile realpath overflow
Allows arbitrary filesystem writes outside the extraction directory during extraction with filter="data". You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives using TarFile.extractall() or TarFile.extract() usin…
-
High 7.5CVE-2025-4138 Public exploit
Bypassing extraction filter to create symlinks to arbitrary targets outside extraction directory
Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives u…
-
High 7.5
Extraction filter bypass for linking outside extraction directory
Allows the extraction filter to be ignored, allowing symlink targets to point outside the destination directory, and the modification of some file metadata. You are affected by this vulnerability if using the tarfile module to extract untrusted tar archives u…
-
High 7.5
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…
-
Medium 5.3
Bypass extraction filter to modify file metadata outside extraction directory
Allows modifying some file metadata (e.g. last modified) with filter="data" or file permissions (chmod) with filter="tar" of files outside the extraction directory. You are affected by this vulnerability if using the tarfile module to extract untrusted tar ar…
References
-
report
https://bugzilla.suse.com/1203750
-
report
https://bugzilla.suse.com/1244032
-
report
https://bugzilla.suse.com/1244056
-
report
https://bugzilla.suse.com/1244059
-
report
https://bugzilla.suse.com/1244060
-
report
https://bugzilla.suse.com/1244061
-
report
https://bugzilla.suse.com/1251841
-
web
https://www.suse.com/security/cve/CVE-2007-4559
-
web
https://www.suse.com/security/cve/CVE-2024-12718
-
web
https://www.suse.com/security/cve/CVE-2025-4138
-
web
https://www.suse.com/security/cve/CVE-2025-4330
-
web
https://www.suse.com/security/cve/CVE-2025-4435
-
web
https://www.suse.com/security/cve/CVE-2025-4517