PT-2013-1072 · Libtar+3 · Libtar+3

Huzaifa Sidhpurwala

·

Published

2013-10-10

·

Updated

2023-02-13

·

CVE-2013-4397

CVSS v2.0

6.8

Medium

VectorAV:N/AC:M/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions libtar versions prior to 1.2.20
Description The issue is related to multiple integer overflows in the th read function in lib/block.c in libtar, which can lead to a denial of service (crash) and possibly allow remote attackers to execute arbitrary code via a long name or link in an archive, triggering a heap-based buffer overflow. Exploitation of this issue can be done remotely and may result in the disruption of confidentiality, integrity, and availability of protected information.
Recommendations For versions prior to 1.2.20, update to version 1.2.20 or later to resolve the issue. As a temporary workaround, consider restricting access to the th read function in lib/block.c until a patch is available. Avoid using long names or links in archives to minimize the risk of exploitation.

Exploit

Fix

DoS

Weakness Enumeration

Related Identifiers

ALT-PU-2014-2349
BDU:2015-02535
BDU:2015-07385
BDU:2015-07386
BDU:2015-07387
BDU:2015-09057
BDU:2015-09058
BDU:2015-09059
BDU:2015-09747
CESA-2013_1418
CVE-2013-4397
DSA-2817-1
MGASA-2013-0309
RHSA-2013:1418
RHSA-2013_1418

Affected Products

Alt Linux
Centos
Red Hat
Libtar