VDB

CVE-2021-33640

CVE-2021-33640 PUBLISHED CVSS 6.2 MEDIUM

Reported by openeuler · Published December 19, 2022

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

Risk scores

CVSS 3.1
6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
openEuleropenEuler 22.03 LTS libtar 1.2.20-21
openEuleropenEuler 20.03 LTS SP1 libtar 1.2.20-19
openEuleropenEuler 20.03 LTS SP3 libtar 1.2.20-19
openEuleropenEuler 20.03 LTS SP11.2.20-19
openEuleropenEuler 22.03 LTS1.2.20-21
openEuleropenEuler 20.03 LTS SP31.2.20-19

Timeline

  • Dec 19, 2022 CVE Published
  • Dec 20, 2022 EPSS Score (30 in total, the first dated here)
  • Apr 17, 2025 CVE Updated
  • Apr 3, 2026 Security Advisory
  • Aug 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-33640
vulnetix vdb fixes CVE-2021-33640

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-33640/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›