Tar: Denial of Service — GLSA 201903-05

A vulnerability in Tar could led to a Denial of Service condition.

Affected packages

app-arch/tar on all architectures
Affected versions < 1.30-r1
Unaffected versions >= 1.30-r1

Background

The Tar program provides the ability to create and manipulate tar archives.

Description

The sparse_dump_region function in sparse.c file in Tar allows an infinite loop using the --sparse option.

Impact

A local attacker could cause a Denial of Service condition by modifying a file that is supposed to be archived by a different user’s process (e.g., a system backup running as root).

Workaround

There is no known workaround at this time.

Resolution

All Tar users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-arch/tar-1.30-r1"
 

References

Release date
March 10, 2019

Latest revision
March 10, 2019: 1

Severity
normal

Exploitable
local

Bugzilla entries