Vulnerability · Published Dec 19, 2022 · Assigned by openEuler
CVE-2021-33640
Medium 6.2
In plain English
A medium-severity use-after-free in openEuler 20.03 LTS SP1 from openEuler. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities).
Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.7%top 46.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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).
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| openEuler | openEuler 22.03 LTS | libtar 1.2.20-21 |
| openEuler | openEuler 20.03 LTS SP1 | libtar 1.2.20-19 |
| openEuler | openEuler 20.03 LTS SP3 | libtar 1.2.20-19 |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H