CVE-2018-20482

Summary

CVECVE-2018-20482
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-12-26 18:29:00 UTC
Updated2021-11-30 19:52:00 UTC
DescriptionGNU 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).

Risk And Classification

Problem Types: CWE-835

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 8.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Application Gnu Tar All All All All
Operating System Opensuse Leap 15.0 All All All
Operating System Opensuse Leap 15.0 All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA 2830-1] tar security update MLIST lists.debian.org
[SECURITY] [DLA 1623-1] tar security update MLIST lists.debian.org Mailing List, Third Party Advisory
GNU Tar CVE-2018-20482 Denial of Service Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
[security-announce] openSUSE-SU-2019:1237-1: moderate: Security update f SUSE lists.opensuse.org Mailing List, Third Party Advisory
How I wound up finding a bug in GNU Tar | Hacker News MISC news.ycombinator.com Exploit, Third Party Advisory
Chris's Wiki :: blog/sysadmin/TarFindingTruncateBug MISC utcc.utoronto.ca Patch, Third Party Advisory
Chris Siebenmann na Twitterze: "Current status: I just confirmed a bug in GNU Tar that causes our backups to hang every so often if we're unlucky. As usual I'm half-dreading the experience of trying to report the bug." MISC twitter.com Patch, Third Party Advisory
tar.git - GNU Tar MISC git.savannah.gnu.org Patch, Third Party Advisory
[Bug-tar] GNU Tar with --sparse can loop endlessly if a file shrinks whi MISC lists.gnu.org Third Party Advisory
Tar: Denial of Service (GLSA 201903-05) — Gentoo security GENTOO security.gentoo.org Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178916 Debian Security Update for tar (DLA 2830-1)
  • 296092 Oracle Solaris 11.4 Support Repository Update (SRU) 7.1.4 Missing (CPUJAN2019)
  • 500682 Alpine Linux Security Update for tar
  • 504451 Alpine Linux Security Update for tar
  • 591406 Siemens SIMATIC S7-1500 CPU GNU/Linux subsystem Multiple Vulnerabilities (SSB-439005, ICSA-22-104-13)
  • 710193 Gentoo Linux Tar Denial of service Vulnerability (GLSA 201903-05)
  • 752108 SUSE Enterprise Linux Security Update for tar (SUSE-SU-2022:1548-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report