Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to overwrite arbitrary files via certain //.. (slash slash dot dot) sequences in directory symlinks in a TAR archive.
Severity
Not rated by the source.
Dates
Published
2007-08-25 00:17 UTC
Modified
2026-10-21 17:47 UTC
Affected packages and fixes
tar
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 1.18-2 (ecosystem)
Fixed versions
1.18-2
Fix
Fixed version 1.18-2
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
tar
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 1.18-2 (ecosystem)
Fixed versions
1.18-2
Fix
Fixed version 1.18-2
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
tar
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 1.18-2 (ecosystem)
Fixed versions
1.18-2
Fix
Fixed version 1.18-2
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.