Schwachstellen / CVE-2021-33640

kritisch

CVE-2021-33640

libtar: fixes for CVE-2021-33645 and CVE-2021-33646 introduced new use-after-free bugs in libtar

Veröffentlicht Geändert CWE 416
In der Trivy Database seit spätestens 24. Okt. 2026, 07:11 UTCWann der Eintrag vor diesem Build hinzukam, ist nicht erfasst.

Einstufung nach Quelle

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat6.2CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, Azure Linux, CBL-Mariner. Niedriger laut Red Hat (mittel).

Beschreibung

After tar_close(), libtar.c releases the memory pointed to by pointer t. After tar_close() is called in the list() function, it continues to use pointer t: free_longlink_longname(t->th_buf) . As a result, the released memory is used (use-after-free).

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
Azure Linux 3.0libtar0:1.2.20-11.azl3
CBL-Mariner 1.0libtar0:1.2.20-11.cm1
CBL-Mariner 2.0libtar0:1.2.20-11.cm2
Red Hatlibtar, libtar-develkein Fix angegeben
seal Red Hat 7libtar, seal-libtar1.2.11-29.el7+sp999
Alle 7 Einträge aus 5 Quellen zeigen
QuellePaketBehoben in
Azure Linux 3.0libtar0:1.2.20-11.azl3
CBL-Mariner 1.0libtar0:1.2.20-11.cm1
CBL-Mariner 2.0libtar0:1.2.20-11.cm2
Red Hatlibtarkein Fix angegeben
Red Hatlibtar-develkein Fix angegeben
seal Red Hat 7libtar1.2.11-29.el7+sp999
seal Red Hat 7seal-libtar1.2.11-29.el7+sp999

Referenzen

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.