CVE-2021-33646 — Missing Release of Memory after Effective Lifetime in Libtar
Severity
7.5HIGHNVD
OSV9.1
EPSS
0.2%
top 53.12%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedAug 10
Latest updateMar 31
Description
The th_read() function doesn’t free a variable t->th_buf.gnu_longname after allocating memory, which may cause a memory leak.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6
Affected Packages15 packages
Also affects: Fedora 35, 36, 37
🔴Vulnerability Details
3📋Vendor Advisories
5Red Hat▶
libtar: fixes for CVE-2021-33645 and CVE-2021-33646 introduced new use-after-free bugs in libtar↗2022-12-09
Microsoft▶
The th_read() function doesn’t free a variable t->th_buf.gnu_longname after allocating memory which may cause a memory leak.↗2022-08-09
Debian▶
CVE-2021-33646: libtar - The th_read() function doesn’t free a variable t->th_buf.gnu_longname after allo...↗2021