Out-of-bounds Read Affecting tklauser/libtar package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.58% (76th 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 Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TKLAUSERLIBTAR-2980035
  • published11 Aug 2022
  • disclosed11 Aug 2022
  • creditUnknown

Introduced: 11 Aug 2022

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

How to fix?

There is no fixed version for tklauser/libtar.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read via a crafted tar file with size in 'header struct' set to 0, therefore allowing an attacker to trigger a call of 'malloc(0)' function for a variable 'gnu_longname'.

References

CVSS Base Scores

version 3.1