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).
CVSS breakdown
CVSS 3.1
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected products
- Debian / debian_linux8.0 – 8.0
- Debian / debian_linux9.0 – 9.0
- gnu / Tar1.30
- openSUSE / Leap15.0 – 15.0
References
- MISChttps://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug
- MISChttp://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454
- MAILING_LISThttps://lists.debian.org/debian-lts-announce/2018/12/msg00023.html
- MISChttps://news.ycombinator.com/item?id=18745431
- MISChttp://www.securityfocus.com/bid/106354
- MISChttps://security.gentoo.org/glsa/201903-05
- MAILING_LISThttp://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html
- MISChttps://twitter.com/thatcks/status/1076166645708668928
- MAILING_LISThttp://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html
- MAILING_LISThttps://lists.debian.org/debian-lts-announce/2021/11/msg00025.html
Updated 17m ago · 8 sources