Vulnerabilities · 2018 · Gnu
CVE-2018-20482
Gnu Tar vulnerability
GNU Tar through 1.30, when --sparse is used, mishandles file shrinkage during read access, which allows local users to cause a denial of service (infinite read loop in sparse_dump_region in sparse.c) by modifying a file that is supposed to be archived by a different user's process (e.g., a system backup running as root).
Affected products
Tar, Debian Linux, Leap. 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.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454 · Patch
- twitter.com/thatcks/status/1076166645708668928 · Patch
- utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug · Patch
- lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html · Third Party Advisory
- www.securityfocus.com/bid/106354 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2018/12/msg00023.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2021/11/msg00025.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-20482
- cve.org/CVERecord?id=CVE-2018-20482
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.