National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2018-20482 Detail

Current 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).

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 4.7 MEDIUM
Vector:  CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink 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://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

Weakness Enumeration

CWE-ID CWE Name Source
CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop') NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:gnu:tar:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
1.30

Configuration 2 ( hide )
 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 3 ( hide )
 cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

9 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2018-20482
NVD Published Date:
12/26/2018
NVD Last Modified:
10/02/2019