Описание
Security update for tar
This update for tar fixes the following issues:
Upgrade tar to version 1.34 (jsc#PED-16073).
Security issues fixed:
- CVE-2025-45582: file overwrite via directory traversal in crafted TAR archives (bsc#1246399).
Other updates and bugfixes:
- Changes from 1.28:
- New --one-top-level option: extract all files into a subdirectory named after the archive base name
- New --sort option: sort directory entries by name or inode when creating archives
- New exclusion options: --exclude-ignore, --exclude-ignore-recursive, and --exclude-vcs-ignores
- New checkpoint action: totals; extended checkpoint format specifiers
- Official tar(1) and rmt(8) manpages now provided upstream
- Refuse to read from or write archives to a tty device
- Changes from 1.29:
- New --verbatim-files-from option: treat each line in a file list as a literal file name regardless of leading dashes
- Changes from 1.30:
- Member names containing '..' components are now skipped on extraction (security hardening)
- Erroneous use of position-sensitive options is now reported
- --numeric-owner now applies to private (pax) headers too
- Fixed --delay-directory-restore in several edge cases
- New --warnings=failed-read option to suppress unreadable-file warnings when combined with --ignore-failed-read
- Changes from 1.32:
- POSIX extended format headers no longer include PID by default
- Wildcards in --exclude-vcs-ignore mode no longer match slashes
- Fixed --no-overwrite-dir option
- Fixed handling of chained renames in incremental backups
- Link counting works for file names supplied via -T
- Changes from 1.33:
- Fix extraction over pipe
- Fix memory leak in read_header
- Fix extraction when . and .. are unreadable
- Gracefully handle duplicate symlinks when extracting
- Re-initialise supplementary groups when switching to user privileges
Список пакетов
Image SLES12-SP5-Azure-HPC-BYOS
Image SLES12-SP5-Azure-HPC-On-Demand
SUSE Linux Enterprise Server 12 SP5-LTSS
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5
Ссылки
- Link for SUSE-SU-2026:2615-1
- E-Mail link for SUSE-SU-2026:2615-1
- SUSE Security Ratings
- SUSE Bug 1246399
- SUSE CVE CVE-2025-45582 page
Описание
GNU Tar through 1.35 allows file overwrite via directory traversal in crafted TAR archives, with a certain two-step process. First, the victim must extract an archive that contains a ../ symlink to a critical directory. Second, the victim must extract an archive that contains a critical file, specified via a relative pathname that begins with the symlink name and ends with that critical file's name. Here, the extraction follows the symlink and overwrites the critical file. This bypasses the protection mechanism of "Member name contains '..'" that would occur for a single TAR archive that attempted to specify the critical file via a ../ approach. For example, the first archive can contain "x -> ../../../../../home/victim/.ssh" and the second archive can contain x/authorized_keys. This can affect server applications that automatically extract any number of user-supplied TAR archives, and were relying on the blocking of traversal. This can also affect software installation processes in which "tar xf" is run more than once (e.g., when installing a package can automatically install two dependencies that are set up as untrusted tarballs instead of official packages). NOTE: the official GNU Tar manual has an otherwise-empty directory for each "tar xf" in its Security Rules of Thumb; however, third-party advice leads users to run "tar xf" more than once into the same directory.
Затронутые продукты
Ссылки
- CVE-2025-45582
- SUSE Bug 1246399
- SUSE Bug 1265450
- SUSE Bug 1266731
- SUSE Bug 1267189