CVE-2018-20482
Published: 26 December 2018
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).
Priority
Status
Package | Release | Status |
---|---|---|
tar Launchpad, Ubuntu, Debian |
groovy |
Not vulnerable
(1.30+dfsg-6)
|
bionic |
Released
(1.29b-2ubuntu0.2)
|
|
cosmic |
Ignored
(end of life)
|
|
disco |
Not vulnerable
(1.30+dfsg-5)
|
|
eoan |
Not vulnerable
(1.30+dfsg-6)
|
|
focal |
Not vulnerable
(1.30+dfsg-6)
|
|
trusty |
Released
(1.27.1-1ubuntu0.1+esm1)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
upstream |
Released
(1.30+dfsg-3.1)
|
|
xenial |
Released
(1.28-2.1ubuntu0.2)
|
|
Patches: upstream: http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42c |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 4.7 |
Attack vector | Local |
Attack complexity | High |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20482
- https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug
- https://news.ycombinator.com/item?id=18745431
- https://twitter.com/thatcks/status/1076166645708668928
- http://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html
- https://ubuntu.com/security/notices/USN-4692-1
- NVD
- Launchpad
- Debian