Vulnerabilidades / CVE-2021-33640

crítica

CVE-2021-33640

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

Publicada Modificada CWE 416
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

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

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Azure Linux, CBL-Mariner. Más baja según Red Hat (media).

Descripción

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

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido 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-develsin corrección indicada
seal Red Hat 7libtar, seal-libtar1.2.11-29.el7+sp999
Mostrar las 7 entradas de 5 fuentes
FuentePaqueteCorregido 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 Hatlibtarsin corrección indicada
Red Hatlibtar-develsin corrección indicada
seal Red Hat 7libtar1.2.11-29.el7+sp999
seal Red Hat 7seal-libtar1.2.11-29.el7+sp999

Referencias

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.