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 Red Hat Enterprise Linux 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-RHEL6-LIBTAR-1468122
  • 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 RHEL:6 libtar to version 0:1.2.11-17.el6_4.1 or higher.
This issue was patched in RHSA-2013:1418.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libtar package and not the libtar package as distributed by RHEL. See How to fix? for RHEL: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