Description
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).
References (10)
Core 10
Core References
Patch, Third Party Advisory x_refsource_misc
https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug
Patch, Third Party Advisory x_refsource_misc
http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/12/msg00023.html
Exploit, Third Party Advisory x_refsource_misc
https://news.ycombinator.com/item?id=18745431
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/106354
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201903-05
Third Party Advisory x_refsource_misc
http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html
Patch, Third Party Advisory x_refsource_misc
https://twitter.com/thatcks/status/1076166645708668928
Mailing List, Third Party Advisory vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2021/11/msg00025.html
Scores
CVSS v3
4.7
EPSS
0.0002
EPSS Percentile
5.6%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-835
Status
published
Products (4)
debian/debian_linux
8.0
debian/debian_linux
9.0
gnu/tar
< 1.30
opensuse/leap
15.0
Published
Dec 26, 2018
Tracked Since
Feb 18, 2026