CVEfocus › CVE database › CVE-2021-20232

CVE-2021-20232

CVSS 9.8 CriticalEPSS 3.4% (higher than 90% of CVEs)Published 2021-03-12Updated 2026-10-14Assigner: redhat

A flaw was found in gnutls. A use after free issue in client_send_params in lib/ext/pre_shared_key.c may lead to memory corruption and other potential consequences.

CWE-416

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

35Fixed
1Fix pending
16Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04gnutls28Not affected
vulnerable_code_not_present
Ubuntu 20.04gnutls28Fixed3.6.13-2ubuntu1.6UBUNTU-CVE-2021-20232
Ubuntu 16.04gnutls28Not affected
vulnerable_code_not_present
Ubuntu 14.04gnutls28Fix pending
Debian 14gnutls28Fixed3.7.1-1DEBIAN-CVE-2021-20232
Debian 13gnutls28Fixed3.7.1-1DEBIAN-CVE-2021-20232
Debian 12gnutls28Fixed3.7.1-1DEBIAN-CVE-2021-20232
Red Hat Enterprise Linux 9gnutlsNot affected
Red Hat Enterprise Linux 9gnutls-c++Not affected
Red Hat Enterprise Linux 9gnutls-daneNot affected
Red Hat Enterprise Linux 9gnutls-develNot affected
Red Hat Enterprise Linux 9gnutls-utilsNot affected
Red Hat Enterprise Linux 8gnutlsFixed0:3.6.16-4.el8RHSA-2021:4451
Red Hat Enterprise Linux 8gnutls-c++Fixed0:3.6.16-4.el8RHSA-2021:4451
Red Hat Enterprise Linux 8gnutls-daneFixed0:3.6.16-4.el8RHSA-2021:4451
Red Hat Enterprise Linux 8gnutls-develFixed0:3.6.16-4.el8RHSA-2021:4451
Red Hat Enterprise Linux 8gnutls-utilsFixed0:3.6.16-4.el8RHSA-2021:4451
Red Hat Enterprise Linux 8nettleFixed0:3.4.1-7.el8RHSA-2021:4451
Red Hat Enterprise Linux 8nettle-develFixed0:3.4.1-7.el8RHSA-2021:4451
Red Hat Enterprise Linux 7gnutlsNot affected
Red Hat Enterprise Linux 7gnutls-c++Not affected
Red Hat Enterprise Linux 7gnutls-daneNot affected
Red Hat Enterprise Linux 7gnutls-develNot affected
Red Hat Enterprise Linux 7gnutls-utilsNot affected
Red Hat Enterprise Linux 6gnutlsNot affected
Red Hat Enterprise Linux 6gnutls-develNot affected
Red Hat Enterprise Linux 6gnutls-guileNot affected
Red Hat Enterprise Linux 6gnutls-utilsNot affected
AlmaLinux 8gnutlsFixed3.6.16-4.el8ALSA-2021:4451
AlmaLinux 8gnutls-c++Fixed3.6.16-4.el8ALSA-2021:4451
AlmaLinux 8gnutls-daneFixed3.6.16-4.el8ALSA-2021:4451
AlmaLinux 8gnutls-develFixed3.6.16-4.el8ALSA-2021:4451
AlmaLinux 8gnutls-utilsFixed3.6.16-4.el8ALSA-2021:4451
AlmaLinux 8nettleFixed3.4.1-7.el8ALSA-2021:4451
AlmaLinux 8nettle-develFixed3.4.1-7.el8ALSA-2021:4451
Rocky Linux 8gnutlsFixed0:3.6.16-4.el8RLSA-2021:4451
Rocky Linux 8nettleFixed0:3.4.1-7.el8RLSA-2021:4451
Alpine Linux 3.24gnutlsFixed3.7.1-r0ALPINE-CVE-2021-20232
Alpine Linux 3.23gnutlsFixed3.7.1-r0ALPINE-CVE-2021-20232
Alpine Linux 3.22gnutlsFixed3.7.1-r0ALPINE-CVE-2021-20232
Alpine Linux 3.21gnutlsFixed3.7.1-r0ALPINE-CVE-2021-20232
Alpine Linux 3.20gnutlsFixed3.7.1-r0ALPINE-CVE-2021-20232
Alpine Linux 3.19gnutlsFixed3.7.1-r0ALPINE-CVE-2021-20232
Alpine Linux 3.18gnutlsFixed3.7.1-r0ALPINE-CVE-2021-20232
Alpine Linux 3.17gnutlsFixed3.7.1-r0ALPINE-CVE-2021-20232
Alpine Linux 3.16gnutlsFixed3.7.1-r0ALPINE-CVE-2021-20232
Alpine Linux 3.15gnutlsFixed3.7.1-r0ALPINE-CVE-2021-20232
Alpine Linux 3.14gnutlsFixed3.7.1-r0ALPINE-CVE-2021-20232
Alpine Linux 3.13gnutlsFixed3.7.1-r0ALPINE-CVE-2021-20232
Alpine Linux 3.12gnutlsFixed3.6.15-r1ALPINE-CVE-2021-20232
Alpine Linux 3.11gnutlsFixed3.6.15-r1ALPINE-CVE-2021-20232
Alpine Linux 3.10gnutlsFixed3.6.15-r1ALPINE-CVE-2021-20232

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.