Loop with Unreachable Exit Condition ('Infinite Loop') Affecting tar package, versions <1.30+dfsg-3.1


Severity

0.0
medium
0
10

    Threat Intelligence

    EPSS
    0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DEBIAN12-TAR-1560768
  • published 26 Dec 2018
  • disclosed 26 Dec 2018

How to fix?

Upgrade Debian:12 tar to version 1.30+dfsg-3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tar package and not the tar package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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

CVSS Scores

version 3.1
Expand this section

Snyk

4.7 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

NVD

4.7 medium
Expand this section

Red Hat

5.5 medium
Expand this section

SUSE

5.5 medium