Loop with Unreachable Exit Condition ('Infinite Loop')

Affecting tar package, versions <1.29b-2ubuntu0.2

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

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

CVSS Score

4.7
low severity
  • Attack Vector
    Local
  • Attack Complexity
    High
  • Privileges Required
    Low
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    None
  • Integrity
    None
  • Availability
    High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
CVE
CVE-2018-20482
CWE
CWE-835
Snyk ID
SNYK-UBUNTU1804-TAR-312298
Disclosed
26 Dec, 2018
Published
26 Dec, 2018