Project

General

Profile

Bug #9848

Bug #9847: tar: Infinite read loop in sparse_dump_region function in sparse.c (CVE-2018-20482)

[3.8] tar: Infinite read loop in sparse_dump_region function in sparse.c (CVE-2018-20482)

Added by Alicha CH 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
Security
Target version:
Start date:
01/10/2019
Due date:
% Done:

100%

Estimated time:
Affected versions:
Security IDs:
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).

References:

https://utcc.utoronto.ca/~cks/space/blog/sysadmin/TarFindingTruncateBug
https://nvd.nist.gov/vuln/detail/CVE-2018-20482

Patch:

http://git.savannah.gnu.org/cgit/tar.git/commit/?id=c15c42c

Associated revisions

Revision 0119db77 (diff)
Added by J0WI 3 months ago

main/tar: security upgrade to 1.31

fixes #9848

History

#1 Updated by Anonymous 3 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Alicha CH 3 months ago

  • Project changed from Alpine Security to Alpine Linux
  • Category set to Security
  • Status changed from Resolved to Closed

Also available in: Atom PDF