Vulnerability Details : 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).
Vulnerability category: Denial of service
Products affected by CVE-2018-20482
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:tar:*:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-20482
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 6 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-20482
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
1.9
|
LOW | AV:L/AC:M/Au:N/C:N/I:N/A:P |
3.4
|
2.9
|
NIST | |
4.7
|
MEDIUM | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.0
|
3.6
|
NIST |
CWE ids for CVE-2018-20482
-
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.Assigned by: nvd@nist.gov (Primary)
References for CVE-2018-20482
-
http://www.securityfocus.com/bid/106354
GNU Tar CVE-2018-20482 Denial of Service VulnerabilityThird Party Advisory;VDB Entry
-
https://security.gentoo.org/glsa/201903-05
Tar: Denial of Service (GLSA 201903-05) — Gentoo securityThird Party Advisory
-
http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html
[Bug-tar] GNU Tar with --sparse can loop endlessly if a file shrinks whiThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2018/12/msg00023.html
[SECURITY] [DLA 1623-1] tar security updateMailing List;Third Party Advisory
-
https://twitter.com/thatcks/status/1076166645708668928
Chris Siebenmann on Twitter: "Current status: I just confirmed a bug in GNU Tar that causes our backups to hang every so often if we're unlucky. As usual I'm half-dreading the experience of trying toPatch;Third Party Advisory
-
https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug
Chris's Wiki :: blog/sysadmin/TarFindingTruncateBugPatch;Third Party Advisory
-
https://news.ycombinator.com/item?id=18745431
How I wound up finding a bug in GNU Tar | Hacker NewsExploit;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2021/11/msg00025.html
[SECURITY] [DLA 2830-1] tar security updateMailing List;Third Party Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00077.html
[security-announce] openSUSE-SU-2019:1237-1: moderate: Security update fMailing List;Third Party Advisory
-
http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42ccd1e2377945fd0414eca1a49294bff454
tar.git - GNU TarPatch;Third Party Advisory
Jump to