CVE-2021-33646 Denial of service in libtar

High 7.5 Published Updated

A memory leak in libtar's th_read function can lead to resource exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-33646?

CVE-2021-33646 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 9 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-401

Which versions are affected by CVE-2021-33646?

It affects 3 products.

Products include Fedoraproject Fedora, Feep Libtar, Openatom Openeuler.

How do I fix CVE-2021-33646?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-33646 being exploited?

There is no known exploitation of CVE-2021-33646 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-10545, AZL-34949, DEBIAN-CVE-2021-33646, GHSA-x27v-rjqh-f4xc, UBUNTU-CVE-2021-33646.

Is CVE-2021-33646 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free