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
| Vector | AV: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
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Centos
Red Hat
Libtar