CVE-2021-33640

Summary

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 Software

VendorProductVersion RangeStatus
openEuleropenEuler 22.03 LTSlibtar 1.2.20-21affected
openEuleropenEuler 20.03 LTS SP1libtar 1.2.20-19affected
openEuleropenEuler 20.03 LTS SP3libtar 1.2.20-19affected

Weaknesses

  • CWE-416: CWE-416 Use After Free

ADP Enrichment

CVE Program Container

Additional References

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References