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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.007 (49.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 49th percentile — 49.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Openatom Openeuler — versions 20.03, 22.03
- Openeuler 20.03 Lts Sp1 — versions libtar 1.2.20-19
- Openeuler 20.03 Lts Sp3 — versions libtar 1.2.20-19
- Openeuler 22.03 Lts — versions libtar 1.2.20-21
- Fedoraproject Fedora — versions 36, 37
Weakness classification (CWE)
References
- www.openeuler.org/en/security/cve/detail/ (Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
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.