Use After Free in Openatom Openeuler

CVE-2021-33640

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

Vulnerability class: Use-After-Free

EPSS: 0.006 (47.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.2 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-33640?
CVE-2021-33640 is a medium-severity vulnerability in Openatom Openeuler, classified under Use After Free. CVSS score: 6.2/10. Published 2022-12-19.
How severe is CVE-2021-33640?
Medium severity. CVSS v3 base score is 6.2 out of 10.