Use After Free Affecting libtar-devel package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.7% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS6-LIBTARDEVEL-3177607
  • published20 Dec 2022
  • disclosed9 Dec 2022

Introduced: 9 Dec 2022

CVE-2021-33640  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

There is no fixed version for Centos:6 libtar-devel.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libtar-devel package and not the libtar-devel package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1