Logo
componenttar
Name
tar
Version
1.35
Type
library
Description
-
Licenses
GPL-3.0+
PURL
-
CPE
cpe:2.3:a:gnu:tar:1.35:-:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
2025.02.x
1.35

Patches#


#
Title
Author
Resolve
1
lib/getrandom.c: fix build with uclibc < 1.0.35
Fabrice Fontaine <fontaine.fabrice@gmail.com>
2
Fix savannah bug #64441
Sergey Poznyakoff <gray@gnu.org>
3
tests: fix LDADD
Paul Eggert <eggert@cs.ucla.edu>
4
Avoid acl_ prefix for functions
Pavel Cahyna <pcahyna@redhat.com>

Vulnerabilities#


Name
Analysis
Description
Exploitable
A flaw was found in GNU tar. When extracting an archive with the --one-top-level option, hardlink targets are not confined to the designated top-level directory and may resolve relative to the extraction working directory. A crafted archive can create hardlinks that escape the intended boundary and, when combined with a preexisting symbolic link under the working directory, may allow writing outside that boundary during a single extraction.
Exploitable
A TOCTOU (Time-of-Check Time-of-Use) vulnerability in GNU tar's incremental dumpdir 'X' rename handling allows a local attacker with write access to a directory being backed up to influence the restore process if the attacker has access to the system where the restore is being performed. During restoration, files or directories may be created, renamed or overwritten outside the intended extraction directory. This could lead to unauthorized file modification or, in some cases, privilege escalation. Exploitation does not require the attacker to modify or craft the archive, and standard backup and restore workflows—including extracting into a newly created directory without using the -P option do not mitigate the issue.