CVE-2021-33645 Denial of service in libtar
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-33645?
CVE-2021-33645 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_longlink after allocating memory, which may cause a memory leak.
Weakness: CWE-401
Which versions are affected by CVE-2021-33645?
It affects 3 products.
Products include Fedoraproject Fedora, Feep Libtar, Openatom Openeuler.
How do I fix CVE-2021-33645?
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-33645 being exploited?
There is no known exploitation of CVE-2021-33645 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-10544, AZL-34948, DEBIAN-CVE-2021-33645, GHSA-j8q5-rwmr-9hg8, UBUNTU-CVE-2021-33645.