Denial of Service (DoS) Affecting tklauser/libtar package, versions [,1.2.20)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-UNMANAGED-TKLAUSERLIBTAR-2366316
  • published26 Jan 2022
  • disclosed17 Oct 2013
  • creditUnknown

Introduced: 17 Oct 2013

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

How to fix?

Upgrade tklauser/libtar to version 1.2.20 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). 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.

References

CVSS Base Scores

version 3.1