CVE-2021-20231
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-20231 is a security vulnerability discovered in GnuTLS, affecting versions prior to 3.7.1. The vulnerability was identified as a use-after-free issue in the client sending key_share extension, which could lead to memory corruption and other security implications. The issue was discovered and disclosed in March 2021 (GnuTLS Advisory).

Technical details

The vulnerability is classified with a CVSS v3.1 Base Score of 9.8 (CRITICAL) with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue occurs specifically in TLS 1.3 implementations when the client sends a large Client Hello message, particularly when HRR (Hello Retry Request) is sent in a resumed session that previously negotiated large FFDHE parameters. The vulnerability stems from dereferencing a pointer that becomes invalid after a realloc() operation (NVD, GnuTLS Advisory).

Impact

The vulnerability's successful exploitation could lead to memory corruption, potentially resulting in disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). The critical CVSS score of 9.8 indicates the potential for high impact across confidentiality, integrity, and availability (NetApp Advisory).

Exploitability

The vulnerability requires an attacker to be in a position to interact with the GnuTLS client implementation. The exploit conditions are specifically tied to TLS 1.3 connections and require the client to send a large Client Hello message. The vulnerability is particularly exploitable when HRR is sent in a resumed session that previously negotiated large FFDHE parameters (GnuTLS Advisory).

Mitigation and workarounds

The primary mitigation is to upgrade to GnuTLS version 3.7.1 or later versions, which contains the fix for this vulnerability. The fix was implemented through a patch that addresses the use-after-free issue in the key_share extension handling (GnuTLS Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management