Memory Leak Affecting libtar package, versions *


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.31% (70th 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 Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-LIBTAR-8602896
  • published8 Jan 2025
  • disclosed10 Aug 2022

Introduced: 10 Aug 2022

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

How to fix?

There is no fixed version for Debian:12 libtar.

NVD Description

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

The th_read() function doesn’t free a variable t->th_buf.gnu_longlink after allocating memory, which may cause a memory leak.

CVSS Scores

version 3.1