Every CVE Search/ Get API key

CVE-2021-20232

A flaw was found in gnutls. A use after free issue in client_send_params in lib/ext...

9.8 CriticalFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.38%Up 2.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2021-20232
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-416
Updated
2026-11-02
CVE List 9.8

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.

Record
CVE-2021-20232
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-416
Updated
2026-11-02
EUVDEUVD-2021-7671 9.8

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.

Record
EUVD-2021-7671
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-p947-gfm7-f4g7 9.8

A flaw was found in gnutls. A use after free issue in client_send_params in lib/ext...

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.

Record
GHSA-p947-gfm7-f4g7
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-416
Updated
2026-11-02
OSVALPINE-CVE-2021-20232 9.8

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.

Record
ALPINE-CVE-2021-20232
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVAZL-6447 9.8

CVE-2021-20232 affecting package gnutls for versions less than 3.6.14-5

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.

Record
AZL-6447
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 14 moreShow less
OSVBELL-CVE-2021-20232 9.8

CVE-2021-20232 does not affect BellSoft software

Record
BELL-CVE-2021-20232
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2021-20232
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-20232 9.8

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.

Record
DEBIAN-CVE-2021-20232
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVJLSEC-2026-521 9.8

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.

Record
JLSEC-2026-521
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Updated
2026-11-02
OSVOESA-2021-1109 9.8

gnutls security update

GnuTLS is a secure communications library implementing the SSL, TLS and DTLS protocols and technologies around them. It provides a simple C language application programming interface (API) to access the secure communications protocols as well as APIs to parse and write X.509, PKCS #12, and other required structures. The project strives to provide a secure communications back-end, simple to use and integrated with the rest of the base Linux libraries. A back-end designed to work and be secure out of the box, keeping the complexity of TLS and PKI out of application code.

Security Fix(es):

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.(CVE-2021-20231)

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.(CVE-2021-20232)

Record
OESA-2021-1109
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2021:4451 7.5

Red Hat Security Advisory: gnutls and nettle security, bug fix, and enhancement update

Record
RHSA-2021:4451
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2021:4451 7.5

Moderate: gnutls and nettle security, bug fix, and enhancement update

The gnutls packages provide the GNU Transport Layer Security (GnuTLS) library, which implements cryptographic algorithms and protocols such as SSL, TLS, and DTLS.

Nettle is a cryptographic library that is designed to fit easily in almost any context: In crypto toolkits for object-oriented languages, such as C++, Python, or Pike, in applications like LSH or GNUPG, or even in kernel space.

The following packages have been upgraded to a later upstream version: gnutls (3.6.16). (BZ#1956783)

Security Fix(es):

  • nettle: Remote crash in RSA decryption via manipulated ciphertext (CVE-2021-3580)

  • gnutls: Use after free in client key_share extension (CVE-2021-20231)

  • gnutls: Use after free in client_send_params in lib/ext/pre_shared_key.c (CVE-2021-20232)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Rocky Linux 8.5 Release Notes linked from the References section.

Record
RLSA-2021:4451
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-20232 9.8

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.

Record
UBUNTU-CVE-2021-20232
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVALSA-2021:4451 No score

Moderate: gnutls and nettle security, bug fix, and enhancement update

The gnutls packages provide the GNU Transport Layer Security (GnuTLS) library, which implements cryptographic algorithms and protocols such as SSL, TLS, and DTLS.

Nettle is a cryptographic library that is designed to fit easily in almost any context: In crypto toolkits for object-oriented languages, such as C++, Python, or Pike, in applications like LSH or GNUPG, or even in kernel space.

The following packages have been upgraded to a later upstream version: gnutls (3.6.16). (BZ#1956783)

Security Fix(es):

  • nettle: Remote crash in RSA decryption via manipulated ciphertext (CVE-2021-3580)

  • gnutls: Use after free in client key_share extension (CVE-2021-20231)

  • gnutls: Use after free in client_send_params in lib/ext/pre_shared_key.c (CVE-2021-20232)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2021:4451
Updated
2026-11-02
OSVopenSUSE-SU-2021:0470-1 No score

Security update for gnutls

This update for gnutls fixes the following issues:

  • CVE-2021-20232: Fixed a use after free issue which could have led to memory corruption and other potential consequences (bsc#1183456).
  • CVE-2021-20231: Fixed a use after free issue which could have led to memory corruption and other potential consequences (bsc#1183457).

This update was imported from the SUSE:SLE-15-SP2:Update update project.

Record
openSUSE-SU-2021:0470-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10801-1 No score

gnutls-3.7.2-1.2 on GA media

These are all security issues fixed in the gnutls-3.7.2-1.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10801-1
Updated
2026-11-02
OSVSUSE-SU-2021:0934-1 No score

Security update for gnutls

This update for gnutls fixes the following issues:

  • CVE-2021-20232: Fixed a use after free issue which could have led to memory corruption and other potential consequences (bsc#1183456).
  • CVE-2021-20231: Fixed a use after free issue which could have led to memory corruption and other potential consequences (bsc#1183457).
Record
SUSE-SU-2021:0934-1
Updated
2026-11-02
OSVSUSE-SU-2021:0935-1 No score

Security update for gnutls

This update for gnutls fixes the following issues:

  • CVE-2021-20232: Fixed a use after free issue which could have led to memory corruption and other potential consequences (bsc#1183456).
  • CVE-2021-20231: Fixed a use after free issue which could have led to memory corruption and other potential consequences (bsc#1183457).
Record
SUSE-SU-2021:0935-1
Updated
2026-11-02
OSVUSN-5029-1 No score

gnutls28 vulnerabilities

It was discovered that GnuTLS incorrectly handled sending certain extensions when being used as a client. A remote attacker could use this issue to cause GnuTLS to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-5029-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
gnutls
Alpine:v3.10
3.6.3 up to 3.6.15-r1
3.6.15-r1
gnutls
Alpine:v3.11
3.6.3 up to 3.6.15-r1
3.6.15-r1
gnutls
Alpine:v3.12
3.6.3 up to 3.6.15-r1
3.6.15-r1
gnutls
Alpine:v3.13
3.6.3 up to 3.7.1-r0
3.7.1-r0
gnutls
Alpine:v3.14
3.6.3 up to 3.7.1-r0
3.7.1-r0
gnutls
Alpine:v3.15
3.6.3 up to 3.7.1-r0
3.7.1-r0
gnutls
Alpine:v3.16
3.6.3 up to 3.7.1-r0
3.7.1-r0
gnutls
Alpine:v3.17
3.6.3 up to 3.7.1-r0
3.7.1-r0
gnutls
Alpine:v3.18
3.6.3 up to 3.7.1-r0
3.7.1-r0
gnutls
Alpine:v3.19
3.6.3 up to 3.7.1-r0
3.7.1-r0
Show 61 moreShow less
Affected packages
PackageAffectedFixed
gnutls
Alpine:v3.20
3.6.3 up to 3.7.1-r0
3.7.1-r0
gnutls
Alpine:v3.21
3.6.3 up to 3.7.1-r0
3.7.1-r0
gnutls
Alpine:v3.22
3.6.3 up to 3.7.1-r0
3.7.1-r0
gnutls
Alpine:v3.23
3.6.3 up to 3.7.1-r0
3.7.1-r0
gnutls
Alpine:v3.24
3.6.3 up to 3.7.1-r0
3.7.1-r0
gnutls
AlmaLinux:8
From an advisory covering 3 CVEs
before 3.6.16-4.el8
3.6.16-4.el8
gnutls-c++
AlmaLinux:8
From an advisory covering 3 CVEs
before 3.6.16-4.el8
3.6.16-4.el8
gnutls-dane
AlmaLinux:8
From an advisory covering 3 CVEs
before 3.6.16-4.el8
3.6.16-4.el8
gnutls-devel
AlmaLinux:8
From an advisory covering 3 CVEs
before 3.6.16-4.el8
3.6.16-4.el8
gnutls-utils
AlmaLinux:8
From an advisory covering 3 CVEs
before 3.6.16-4.el8
3.6.16-4.el8
nettle
AlmaLinux:8
From an advisory covering 3 CVEs
before 3.4.1-7.el8
3.4.1-7.el8
nettle-devel
AlmaLinux:8
From an advisory covering 3 CVEs
before 3.4.1-7.el8
3.4.1-7.el8
gnutls
Azure Linux:2
before 3.6.14-5
3.6.14-5
gnutls28
Debian:12
before 3.7.1-1
3.7.1-1
gnutls28
Debian:13
before 3.7.1-1
3.7.1-1
gnutls28
Debian:14
before 3.7.1-1
3.7.1-1
GnuTLS_jll
Julia
before 3.7.1+0
3.7.1+0
gnutls
openEuler:20.03-LTS
From an advisory covering 2 CVEs
before 3.6.14-7.oe1
3.6.14-7.oe1
gnutls
openEuler:20.03-LTS-SP1
From an advisory covering 2 CVEs
before 3.6.14-7.oe1
3.6.14-7.oe1
gnutls-c++
Red Hat:enterprise_linux:8::appstream
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
gnutls-c++-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
gnutls-dane
Red Hat:enterprise_linux:8::appstream
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
gnutls-dane-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
gnutls-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
gnutls-debugsource
Red Hat:enterprise_linux:8::appstream
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
gnutls-devel
Red Hat:enterprise_linux:8::appstream
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
gnutls-utils
Red Hat:enterprise_linux:8::appstream
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
gnutls-utils-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
nettle-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 3 CVEs
before 0:3.4.1-7.el8
0:3.4.1-7.el8
nettle-debugsource
Red Hat:enterprise_linux:8::appstream
From an advisory covering 3 CVEs
before 0:3.4.1-7.el8
0:3.4.1-7.el8
nettle-devel
Red Hat:enterprise_linux:8::appstream
From an advisory covering 3 CVEs
before 0:3.4.1-7.el8
0:3.4.1-7.el8
gnutls
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
gnutls-c++-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
gnutls-dane-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
gnutls-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
gnutls-debugsource
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
gnutls-utils-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
nettle
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:3.4.1-7.el8
0:3.4.1-7.el8
nettle-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:3.4.1-7.el8
0:3.4.1-7.el8
nettle-debugsource
Red Hat:enterprise_linux:8::baseos
From an advisory covering 3 CVEs
before 0:3.4.1-7.el8
0:3.4.1-7.el8
gnutls
Rocky Linux:8
From an advisory covering 3 CVEs
before 0:3.6.16-4.el8
0:3.6.16-4.el8
nettle
Rocky Linux:8
From an advisory covering 3 CVEs
before 0:3.4.1-7.el8
0:3.4.1-7.el8
gnutls
SUSE:Linux Enterprise High Performance Computing 15-ESPOS
From an advisory covering 2 CVEs
before 3.6.7-6.40.2
3.6.7-6.40.2
gnutls
SUSE:Linux Enterprise High Performance Computing 15-LTSS
From an advisory covering 2 CVEs
before 3.6.7-6.40.2
3.6.7-6.40.2
gnutls
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS
From an advisory covering 2 CVEs
before 3.6.7-6.40.2
3.6.7-6.40.2
gnutls
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS
From an advisory covering 2 CVEs
before 3.6.7-6.40.2
3.6.7-6.40.2
gnutls
SUSE:Linux Enterprise Server 15-LTSS
From an advisory covering 2 CVEs
before 3.6.7-6.40.2
3.6.7-6.40.2
gnutls
SUSE:Linux Enterprise Server 15 SP1-BCL
From an advisory covering 2 CVEs
before 3.6.7-6.40.2
3.6.7-6.40.2
gnutls
SUSE:Linux Enterprise Server 15 SP1-LTSS
From an advisory covering 2 CVEs
before 3.6.7-6.40.2
3.6.7-6.40.2
gnutls
SUSE:Linux Enterprise Server for SAP Applications 15
From an advisory covering 2 CVEs
before 3.6.7-6.40.2
3.6.7-6.40.2
gnutls
SUSE:Linux Enterprise Server for SAP Applications 15 SP1
From an advisory covering 2 CVEs
before 3.6.7-6.40.2
3.6.7-6.40.2
gnutls
SUSE:Manager Proxy 4.0
From an advisory covering 2 CVEs
before 3.6.7-6.40.2
3.6.7-6.40.2
gnutls
SUSE:Manager Retail Branch Server 4.0
From an advisory covering 2 CVEs
before 3.6.7-6.40.2
3.6.7-6.40.2
gnutls
SUSE:Manager Server 4.0
From an advisory covering 2 CVEs
before 3.6.7-6.40.2
3.6.7-6.40.2
gnutls
SUSE:Enterprise Storage 6
From an advisory covering 2 CVEs
before 3.6.7-6.40.2
3.6.7-6.40.2
gnutls
SUSE:Linux Enterprise Module for Basesystem 15 SP2
From an advisory covering 2 CVEs
before 3.6.7-14.10.2
3.6.7-14.10.2
gnutls
SUSE:Linux Enterprise Micro 5.0
From an advisory covering 2 CVEs
before 3.6.7-14.10.2
3.6.7-14.10.2
gnutls28
Ubuntu:20.04:LTS
before 3.6.13-2ubuntu1.6, plus listed versions
3.6.9-5ubuntu13.6.9-5ubuntu23.6.10-53.6.11.1-23.6.11.1-2ubuntu2
Show 4 moreShow less
3.6.13-2ubuntu13.6.13-2ubuntu1.13.6.13-2ubuntu1.23.6.13-2ubuntu1.3
3.6.13-2ubuntu1.6
gnutls28
Ubuntu:20.04:LTS
From an advisory covering 2 CVEs
before 3.6.13-2ubuntu1.6, plus listed versions
3.6.9-5ubuntu13.6.9-5ubuntu23.6.10-53.6.11.1-23.6.11.1-2ubuntu2
Show 4 moreShow less
3.6.13-2ubuntu13.6.13-2ubuntu1.13.6.13-2ubuntu1.23.6.13-2ubuntu1.3
3.6.13-2ubuntu1.6
gnutls
openSUSE:Leap 15.2
From an advisory covering 2 CVEs
before 3.6.7-lp152.9.9.1
3.6.7-lp152.9.9.1
gnutls
openSUSE:Tumbleweed
From an advisory covering 11 CVEs
before 3.7.2-1.2
3.7.2-1.2

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-20232 is a critical vulnerability (CVSS 9.8) in Gnu Gnutls, published March 12, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.38%, the 88th percentile. Fixed in gnutls 3.6.15-r1.

References

Show 73 moreShow less
MoveEnter Open