portage-ng / portage / dev-libs / libtar / 1.2.20-r6
portage-ng glsa
1 advisory reference dev-libs/libtar · none place version 1.2.20-r6 in a vulnerable range
▸ GLSA 201402-19 libtar: Arbitraty code execution this version unaffected normal remote 2014-02-21

A buffer overflow in libtar might allow remote attackers to execute arbitrary code or cause a Denial of Service condition.

Announced
2014-02-21
Revised
2014-02-21
Access
remote
Bugs
#487420
Advisory
https://security.gentoo.org/glsa/201402-19

Affected packages

PackageArchVulnerableUnaffected
dev-libs/libtar*< 1.2.20-r2>= 1.2.20-r2

Background

libtar is a C library for manipulating POSIX tar files.

Description

An integer overflow error within the “th_read()” function when processing long names or link extensions can be exploited to cause a heap-based buffer overflow via a specially crafted archive.

Impact

A remote attacker could entice a user to open a specially crafted file using a program linked against libtar, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All libtar users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libtar-1.2.20-r2"

References