Read the docs
TI-2021-13019 Aliases CVE-2021-33645GHSA-j8q5-rwmr-9hg8

Memory leak in libtar

Priority LOW 37CWE-401Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 1 fixed, 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-401.

Summary

The th_read() function doesn’t free a variable t->th_buf.gnu_longlink after allocating memory, which may cause a memory leak.

Why it matters now

EPSS 0.02016 81st percentileScored 2026-11-07
Fix Partial libtar: 1.2.21Red Hat: 1 advisoryRed Hat: 1 fixed, 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—libtarbefore 1.2.211.2.21Patch availableCNA
  • libtar Vendor— Affected before 1.2.21 Fixed in 1.2.21 Patch available CNA

CPE configurations NVD · 7

CPEVersionsRoleVendor
cpe:2.3:a:feep:libtar:*:*:*:*:*:*:*:*before 1.2.21VulnerableFeep
cpe:2.3:o:openatom:openeuler:20.03:sp1:*:*:lts:*:*:*20.03 sp1VulnerableOpenatom
cpe:2.3:o:openatom:openeuler:20.03:sp3:*:*:lts:*:*:*20.03 sp3VulnerableOpenatom
cpe:2.3:o:openatom:openeuler:22.03:*:*:*:lts:*:*:*22.03VulnerableOpenatom
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*36VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*37VulnerableFedoraproject
  • cpe:2.3:a:feep:libtar:*:*:*:*:*:*:*:* Versions before 1.2.21 Vulnerable ·Feep
  • cpe:2.3:o:openatom:openeuler:20.03:sp1:*:*:lts:*:*:* Versions 20.03 sp1 Vulnerable ·Openatom
  • cpe:2.3:o:openatom:openeuler:20.03:sp3:*:*:lts:*:*:* Versions 20.03 sp3 Vulnerable ·Openatom
  • cpe:2.3:o:openatom:openeuler:22.03:*:*:*:lts:*:*:* Versions 22.03 Vulnerable ·Openatom
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* Versions 37 Vulnerable ·Fedoraproject

Remediation

  • Fix · CNA libtar Fixed in 1.2.21

Red Hat 1 advisory

  • RHSA-2023:2898 Released 2023-05-16 · Red Hat rating Moderate
    libtar security update
    • Red Hat Enterprise Linux AppStream (v. 8) libtar-1.2.20-17.el8

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

Show 3 more groups

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2023:2898

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-33645
  2. 2026-10-03 Alias added: GHSA-j8q5-rwmr-9hg8

References

Sources