Denial of Service Vulnerability in GNU Tar through 1.30 with --sparse Option

Denial of Service Vulnerability in GNU Tar through 1.30 with --sparse Option

CVE-2018-20482 · MEDIUM Severity

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

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).

Learn more about our User Device Pen Test.