Heap-based Buffer Overflow Affecting libtar package, versions <0:1.2.11-17.el6_4.1


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
5.49% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS6-LIBTAR-2084963
  • published26 Jul 2021
  • disclosed9 Oct 2013

Introduced: 9 Oct 2013

CVE-2013-4397  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:6 libtar to version 0:1.2.11-17.el6_4.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libtar package and not the libtar package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

Multiple integer overflows in the th_read function in lib/block.c in libtar before 1.2.20 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long (1) name or (2) link in an archive, which triggers a heap-based buffer overflow.

CVSS Base Scores

version 3.1