CVE-2018-20482

Name
CVE-2018-20482
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).
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

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

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:gnu:tar:*:*:*:*:*:*:*:* tar >= None <= 1.30

Vulnerable and fixed packages

Source package Branch Version Maintainer Status