CVE-2018-20482

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
Link Resource
http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454 Patch Third Party Advisory
http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html Mailing List Third Party Advisory
http://www.securityfocus.com/bid/106354 Third Party Advisory VDB Entry
https://lists.debian.org/debian-lts-announce/2018/12/msg00023.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/11/msg00025.html Mailing List Third Party Advisory
https://news.ycombinator.com/item?id=18745431 Exploit Third Party Advisory
https://security.gentoo.org/glsa/201903-05 Third Party Advisory
https://twitter.com/thatcks/status/1076166645708668928 Patch Third Party Advisory
https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug Patch Third Party Advisory
http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454 Patch Third Party Advisory
http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html Mailing List Third Party Advisory
http://www.securityfocus.com/bid/106354 Third Party Advisory VDB Entry
https://lists.debian.org/debian-lts-announce/2018/12/msg00023.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/11/msg00025.html Mailing List Third Party Advisory
https://news.ycombinator.com/item?id=18745431 Exploit Third Party Advisory
https://security.gentoo.org/glsa/201903-05 Third Party Advisory
https://twitter.com/thatcks/status/1076166645708668928 Patch Third Party Advisory
https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:gnu:tar:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*

History

21 Nov 2024, 04:01

Type Values Removed Values Added
References () http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454 - Patch, Third Party Advisory () http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454 - Patch, Third Party Advisory
References () http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html - Third Party Advisory () http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html - Third Party Advisory
References () http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html - Mailing List, Third Party Advisory () http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html - Mailing List, Third Party Advisory
References () http://www.securityfocus.com/bid/106354 - Third Party Advisory, VDB Entry () http://www.securityfocus.com/bid/106354 - Third Party Advisory, VDB Entry
References () https://lists.debian.org/debian-lts-announce/2018/12/msg00023.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2018/12/msg00023.html - Mailing List, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2021/11/msg00025.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2021/11/msg00025.html - Mailing List, Third Party Advisory
References () https://news.ycombinator.com/item?id=18745431 - Exploit, Third Party Advisory () https://news.ycombinator.com/item?id=18745431 - Exploit, Third Party Advisory
References () https://security.gentoo.org/glsa/201903-05 - Third Party Advisory () https://security.gentoo.org/glsa/201903-05 - Third Party Advisory
References () https://twitter.com/thatcks/status/1076166645708668928 - Patch, Third Party Advisory () https://twitter.com/thatcks/status/1076166645708668928 - Patch, Third Party Advisory
References () https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug - Patch, Third Party Advisory () https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug - Patch, Third Party Advisory

Information

Published : 2018-12-26 18:29

Updated : 2024-11-21 04:01


NVD link : CVE-2018-20482

Mitre link : CVE-2018-20482

CVE.ORG link : CVE-2018-20482


JSON object : View

Products Affected

debian

  • debian_linux

gnu

  • tar

opensuse

  • leap
CWE
CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')