Vulnerability · Published Mar 12, 2021 · Assigned by redhat

CVE-2021-20232

Critical 9.8

In plain English

A critical-severity use-after-free in gnutls. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.4% (higher than 89% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)3.4%top 11.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8gnutls3.6.16-4.el8ALSA-2021:4451
AlmaLinux:8gnutls-c++3.6.16-4.el8ALSA-2021:4451
AlmaLinux:8gnutls-dane3.6.16-4.el8ALSA-2021:4451
AlmaLinux:8gnutls-devel3.6.16-4.el8ALSA-2021:4451
AlmaLinux:8gnutls-utils3.6.16-4.el8ALSA-2021:4451
AlmaLinux:8nettle3.4.1-7.el8ALSA-2021:4451
AlmaLinux:8nettle-devel3.4.1-7.el8ALSA-2021:4451
Alpine:v3.20gnutls3.7.1-r0ALPINE-CVE-2021-20232
Alpine:v3.21gnutls3.7.1-r0ALPINE-CVE-2021-20232
Alpine:v3.22gnutls3.7.1-r0ALPINE-CVE-2021-20232
Alpine:v3.23gnutls3.7.1-r0ALPINE-CVE-2021-20232
Alpine:v3.24gnutls3.7.1-r0ALPINE-CVE-2021-20232
Debian:12gnutls283.7.1-1DEBIAN-CVE-2021-20232
Debian:13gnutls283.7.1-1DEBIAN-CVE-2021-20232
Debian:14gnutls283.7.1-1DEBIAN-CVE-2021-20232
Rocky Linux:8gnutls0:3.6.16-4.el8RLSA-2021:4451
Rocky Linux:8nettle0:3.4.1-7.el8RLSA-2021:4451

Affected products (as reported)

VendorProductVersions
n/a gnutls gnutls 3.7.1

Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References