Description
Directory traversal vulnerability in GNU tar 1.13.19 through 1.13.25, and possibly later versions, allows attackers to overwrite arbitrary files during archive extraction via a (1) "/.." or (2) "./.." string, which removes the leading slash but leaves the "..", a variant of CVE-2001-1267.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | tar | 1.34-2.2 | openSUSE-SU-2024:11422-1 |
Advisories 1
- openSUSE-SU-2024:11422-1 tar-1.34-2.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 47800 vendor-advisory
- 26673 third-party-advisory
- RHSA-2002:096 vendor-advisory
- 5834 vdb-entry
- SUSE-SR:2007:019 vendor-advisory
- SUSE-SR:2006:005 vendor-advisory
- ESA-20021003-022 vendor-advisory
- https://issues.rpath.com/browse/RPL-1631
- 20020928 GNU tar (Re: Allot Netenforcer problems, GNU TAR flaw) mailing-list
- CLA-2002:538 vendor-advisory
- 20070827 FLEA-2007-0049-1 tar mailing-list
- 26987 third-party-advisory
- 19130 third-party-advisory
- 26604 third-party-advisory
- archive-extraction-directory-traversal(10224) vdb-entry
- 1000928 vendor-advisory
- MDKSA-2002:066 vendor-advisory
- 20070825 rPSA-2007-0172-1 tar mailing-list