Out-of-bounds Read Affecting tar package, versions [0, 1.34)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.09% (42nd 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-TAR-2319482
  • published14 Dec 2021
  • disclosed26 Mar 2021
  • creditUnknown

Introduced: 26 Mar 2021

CVE-2021-20193  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade tar to version 1.34 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. A flaw was found in the src/list.c of tar 1.33 and earlier. This flaw allows an attacker who can submit a crafted input file to tar to cause uncontrolled consumption of memory. The highest threat from this vulnerability is to system availability.

CVSS Base Scores

version 3.1