// For flags

CVE-2021-33646

libtar: memory leak found in th_read() function

Severity Score

7.5
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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

La función th_read() no libera una variable t-)th_buf.gnu_longname después de asignar memoria, lo que puede causar una pérdida de memoria

A flaw was found in libtar. This security vulnerability occurs because the th_read() function in libtar doesn’t free a variable t->th_buf.gnu_longname after allocating memory, which may cause a memory leak.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-05-28 CVE Reserved
  • 2022-08-09 CVE Published
  • 2024-03-30 EPSS Updated
  • 2024-08-03 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-401: Missing Release of Memory after Effective Lifetime
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Feep
Search vendor "Feep"
Libtar
Search vendor "Feep" for product "Libtar"
< 1.2.21
Search vendor "Feep" for product "Libtar" and version " < 1.2.21"
-
Affected
Huawei
Search vendor "Huawei"
Openeuler
Search vendor "Huawei" for product "Openeuler"
20.03
Search vendor "Huawei" for product "Openeuler" and version "20.03"
sp1, lts
Affected
Huawei
Search vendor "Huawei"
Openeuler
Search vendor "Huawei" for product "Openeuler"
20.03
Search vendor "Huawei" for product "Openeuler" and version "20.03"
sp3, lts
Affected
Huawei
Search vendor "Huawei"
Openeuler
Search vendor "Huawei" for product "Openeuler"
22.03
Search vendor "Huawei" for product "Openeuler" and version "22.03"
lts
Affected
Fedoraproject
Search vendor "Fedoraproject"
Fedora
Search vendor "Fedoraproject" for product "Fedora"
35
Search vendor "Fedoraproject" for product "Fedora" and version "35"
-
Affected
Fedoraproject
Search vendor "Fedoraproject"
Fedora
Search vendor "Fedoraproject" for product "Fedora"
36
Search vendor "Fedoraproject" for product "Fedora" and version "36"
-
Affected
Fedoraproject
Search vendor "Fedoraproject"
Fedora
Search vendor "Fedoraproject" for product "Fedora"
37
Search vendor "Fedoraproject" for product "Fedora" and version "37"
-
Affected