Tar: Denial of Service

2019-03-10T00:00:00
ID GLSA-201903-05
Type gentoo
Reporter Gentoo Foundation
Modified 2019-03-10T00:00:00

Description

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"