CVE-2018-20482Gnu Tar
Medium 4.7
Follow: this CVE · Gnu · Gnu Tar We alert you by email or Slack (account required).
- Priority
- 28
- CVSS 3.1
- 4.7
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 38
- Auth required
- Yes
- Published
- Dec 26, 2018
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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).
What to do
- Apply the vendor's security update for Tar.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gnu | tar | ≤ 1.30 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| opensuse | leap | 15.0 |
Official sources
References
Links published by the sources. Open them with care.
- git.savannah.gnu.org Patch Third Party Advisory
- lists.gnu.org Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- news.ycombinator.com Exploit Third Party Advisory
- security.gentoo.org Third Party Advisory
- twitter.com Patch Third Party Advisory
- utcc.utoronto.ca Patch Third Party Advisory
- cert-portal.siemens.com