ArchLinux: 201901-1: tar: denial of service
Summary
A denial of service issue has been found in GNU Tar versions up to and including 1.30. When creating archives with the --sparse option, tar would loop endlessly if a sparse file had been truncated while being archived.
Resolution
Upgrade to 1.31-1.
# pacman -Syu "tar>=1.31-1"
The problem has been fixed upstream in version 1.31.
References
https://lists.gnu.org/archive/html/bug-tar/2018-12/msg00023.html https://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42c https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug https://security.archlinux.org/CVE-2018-20482
Workaround
None.