CVE-2021-20231 Use after free in gnutls

Critical 9.8 Published Updated

A use-after-free flaw in GnuTLS allows attackers to cause memory corruption, potentially leading to code execution or 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-20231?

CVE-2021-20231 is a critical use after free vulnerability in Fedoraproject Fedora, published on 12 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in gnutls. A use after free issue in client sending key_share extension may lead to memory corruption and other consequences.

Weakness: CWE-416

Which versions are affected by CVE-2021-20231?

It affects 5 products.

Products include Fedoraproject Fedora, Gnu Gnutls, Netapp Active Iq Unified Manager, Netapp E-Series Performance Analyzer, Redhat Enterprise Linux.

How do I fix CVE-2021-20231?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-20231 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2021-20231, AZL-6446, DEBIAN-CVE-2021-20231, GHSA-mqq9-xchh-h97q, JLSEC-2026-520, UBUNTU-CVE-2021-20231.

Is CVE-2021-20231 in your software?

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

Check your SBOMs for free