Paper/Archive/CVE-2021-33640

CVE-2021-33640

openEuler openEuler 22.03 LTS — After tar_close(), libtar.c releases the memory pointed to by pointer t.

Description · from the CVE record

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

Affected

ProductAffectedFixed inSource
openEuler 22.03 LTS libtar 1.2.20-21–CNA
openEuler 20.03 LTS SP1 libtar 1.2.20-19–CNA
openEuler 20.03 LTS SP3 libtar 1.2.20-19–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
openEuler (CNA)6.2CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: partial

References

refopeneuler.org/en/security/cve/detail/?cveId=CVE-2021-33640&packageName=libtaradvisorylists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4S4PJRCJLEAWN2EKXGLSOBTL7O57V7NCadvisorylists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7WX5YE66CT7Y5C2HTHXSFDKQWYWYWJ2T