Vulnerabilities · 2007 · Gnu
CVE-2007-4131
Gnu Tar vulnerability
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.
Affected products
Tar. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Tar runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.redhat.com/support/errata/RHSA-2007-0860.html · Patch
- bugzilla.redhat.com/bugzilla/show_bug.cgi?id=251921
- docs.info.apple.com/article.html?artnum=307179
- lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
- secunia.com/advisories/26573
- secunia.com/advisories/26590
- secunia.com/advisories/26603
- secunia.com/advisories/26604
- nvd.nist.gov/vuln/detail/CVE-2007-4131
- cve.org/CVERecord?id=CVE-2007-4131
More vulnerabilities in Gnu products
CVE-2026-24061CVE-2026-0915CVE-2026-0861CVE-2025-66866CVE-2025-66865CVE-2025-66864CVE-2025-66863CVE-2025-66862All 1,147
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.