CVEvulnerability

CVE-2018-20482

4.7 MEDIUM Published 2018-12-26 Modified 2026-10-14 Official page ↗
Status
Modified
Published
2018-12-26
Last modified
2026-10-14
Assigner
[email protected]
CVSS 3.1 ([email protected])
4.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0 ([email protected])
1.9 LOW — AV:L/AC:M/Au:N/C:N/I:N/A:P
Weaknesses
CWE-835

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

Affected configurations

• gnu tar (<= 1.30) • debian debian linux 8.0 • debian debian linux 9.0 • opensuse leap 15.0

Related

Weakness · CWE (1)

  • CWE-835 Loop with Unreachable Exit Condition weakness

References