CVE-2021-33645
JSON

7.5high

The thread() function doesn’t free a variable t-thbuf.gnulonglink after allocating memory, which may cause a memory leak.

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
2.00% (higher than 81% of CVEs)
Published
Last changed
Assigned by
openEuler

Description

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

Affected

Product or packageVersionsReported by
libtar<1.2.21CVE List
feep libtarbefore 1.2.21NVD
openatom openeuler20.03, 22.03NVD
fedoraproject fedora35, 36, 37NVD

Classification

What each source says

CVE List

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

NVD (es)

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

References

https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1807third-party-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5YSHZY753R7XW6CIKJVAWI373WW3YRRJ/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OD4HEBSTI22FNYKOKK7W3X6ZQE6FV3XC/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7Q26QDNOJDOFYWMJWEIK5XR62M2FF6IJ/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4S4PJRCJLEAWN2EKXGLSOBTL7O57V7NC/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7WX5YE66CT7Y5C2HTHXSFDKQWYWYWJ2T/vendor-advisory
https://lists.debian.org/debian-lts-announce/2025/01/msg00026.html

Sources

SourceRecordLicence
CVE ListCVE-2021-33645 changed 2025-11-03CVE Terms of Use
NVDCVE-2021-33645 changed 2026-06-17Public domain