CVE-2021-33640
- State
- Published
- Severity
- 6.2 Medium
- Published
- Dec 19, 2022
- Updated
- Apr 17, 2025
- Reserved
- May 28, 2021
Description
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).
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.2 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | openEuler |
Weaknesses
- CWE-416 Use After Free
Affected Products
| Product | Versions |
|---|---|
openEuler 22.03 LTSopenEuler |
|
openEuler 20.03 LTS SP1openEuler |
|
openEuler 20.03 LTS SP3openEuler |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.