Vulnerability · Published Mar 12, 2021 · Assigned by redhat
CVE-2021-20231
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.7% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)3.7%top 10.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | gnutls | 3.6.16-4.el8 | ALSA-2021:4451 |
| AlmaLinux:8 | gnutls-c++ | 3.6.16-4.el8 | ALSA-2021:4451 |
| AlmaLinux:8 | gnutls-dane | 3.6.16-4.el8 | ALSA-2021:4451 |
| AlmaLinux:8 | gnutls-devel | 3.6.16-4.el8 | ALSA-2021:4451 |
| AlmaLinux:8 | gnutls-utils | 3.6.16-4.el8 | ALSA-2021:4451 |
| AlmaLinux:8 | nettle | 3.4.1-7.el8 | ALSA-2021:4451 |
| AlmaLinux:8 | nettle-devel | 3.4.1-7.el8 | ALSA-2021:4451 |
| Alpine:v3.20 | gnutls | 3.7.1-r0 | ALPINE-CVE-2021-20231 |
| Alpine:v3.21 | gnutls | 3.7.1-r0 | ALPINE-CVE-2021-20231 |
| Alpine:v3.22 | gnutls | 3.7.1-r0 | ALPINE-CVE-2021-20231 |
| Alpine:v3.23 | gnutls | 3.7.1-r0 | ALPINE-CVE-2021-20231 |
| Alpine:v3.24 | gnutls | 3.7.1-r0 | ALPINE-CVE-2021-20231 |
| Debian:12 | gnutls28 | 3.7.1-1 | DEBIAN-CVE-2021-20231 |
| Debian:13 | gnutls28 | 3.7.1-1 | DEBIAN-CVE-2021-20231 |
| Debian:14 | gnutls28 | 3.7.1-1 | DEBIAN-CVE-2021-20231 |
| Rocky Linux:8 | gnutls | 0:3.6.16-4.el8 | RLSA-2021:4451 |
| Rocky Linux:8 | nettle | 0:3.4.1-7.el8 | RLSA-2021:4451 |
Affected products (as reported)
Weakness: CWE-416
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1922276 x_refsource_MISC
- https://www.gnutls.org/security-new.html#GNUTLS-SA-2021-03-10 x_refsource_MISC
- FEDORA-2021-18bef34f05 vendor-advisory, x_refsource_FEDORA
- [spark-issues] 20210413 [jira] [Created] (SPARK-35054) Getting Critical Vulnerability CVE-2021-20231 on spark 3.0.0 branch mailing-list, x_refsource_MLIST
- https://security.netapp.com/advisory/ntap-20210416-0005/ x_refsource_CONFIRM
- [spark-issues] 20210417 [jira] [Commented] (SPARK-35054) Getting Critical Vulnerability CVE-2021-20231 on spark 3.0.0 branch mailing-list, x_refsource_MLIST
- [spark-issues] 20210423 [jira] [Resolved] (SPARK-35054) Getting Critical Vulnerability CVE-2021-20231 on spark 3.0.0 branch mailing-list, x_refsource_MLIST
- [spark-issues] 20210425 [jira] [Commented] (SPARK-35054) Getting Critical Vulnerability CVE-2021-20231 on spark 3.0.0 branch mailing-list, x_refsource_MLIST
- [spark-issues] 20210426 [jira] [Commented] (SPARK-35054) Getting Critical Vulnerability CVE-2021-20231 on spark 3.0.0 branch mailing-list, x_refsource_MLIST
- [spark-issues] 20210426 [jira] [Updated] (SPARK-35054) Getting Critical Vulnerability CVE-2021-20231 on spark 3.0.0 branch mailing-list, x_refsource_MLIST
- [spark-issues] 20210429 [jira] [Commented] (SPARK-35054) Getting Critical Vulnerability CVE-2021-20231 on spark 3.0.0 branch mailing-list, x_refsource_MLIST
- [spark-issues] 20210430 [jira] [Commented] (SPARK-35054) Getting Critical Vulnerability CVE-2021-20231 on spark 3.0.0 branch mailing-list, x_refsource_MLIST
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html