Vulnérabilités / CVE-2021-33640

critique

CVE-2021-33640

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

Publiée Modifiée CWE 416
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

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

Le label propre à Trivy est CRITICAL. Critique selon NVD, Azure Linux, CBL-Mariner. Plus basse selon Red Hat (moyenne).

Description

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).

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
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-develpas de correctif indiqué
seal Red Hat 7libtar, seal-libtar1.2.11-29.el7+sp999
Afficher les 7 entrées de 5 sources
SourcePaquetCorrigé en
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 Hatlibtarpas de correctif indiqué
Red Hatlibtar-develpas de correctif indiqué
seal Red Hat 7libtar1.2.11-29.el7+sp999
seal Red Hat 7seal-libtar1.2.11-29.el7+sp999

Références

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.