Project

General

Profile

Bug #9847

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

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

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

100%

Estimated time:
(Total: 0.00 h)
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


Subtasks

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

Bug #9849: [3.7] tar: Infinite read loop in sparse_dump_region function in sparse.c (CVE-2018-20482)ClosedCarlo Landmeter

Bug #9850: [3.6] tar: Infinite read loop in sparse_dump_region function in sparse.c (CVE-2018-20482)ClosedCarlo Landmeter

History

#1 Updated by Alicha CH 4 months ago

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

Also available in: Atom PDF