CVE-2021-24116: 
NixOS vulnerability analysis and mitigation

Overview

In wolfSSL through 4.6.0, a side-channel vulnerability in base64 PEM file decoding allows system-level (administrator) attackers to obtain information about secret RSA keys via a controlled-channel and side-channel attack on software running in isolated environments that can be single stepped, especially Intel SGX (NVD, GitHub).

Technical details

The vulnerability stems from a non-constant time implementation for base64 decoding in WolfSSL before version 4.6.0. The issue specifically involves the usage of a lookup table in decoding keys stored as PEM files, which allows an attacker to obtain key information by tracking the accessed cache lines during key decoding. This vulnerability was demonstrated particularly in Intel SGX environments (GitHub).

Impact

The vulnerability enables system-level attackers to extract sensitive information about RSA private keys through side-channel analysis. This is particularly concerning in secure enclave environments like Intel SGX, where the isolation of sensitive cryptographic operations is a critical security requirement (NVD).

Exploitability

The vulnerability requires system-level (administrator) access and the ability to perform controlled-channel and side-channel attacks in environments that can be single-stepped. The attack is particularly effective against software running in isolated environments such as Intel SGX (NVD).

Mitigation and workarounds

The vulnerability was fixed in WolfSSL version 4.6.0. Users are recommended to upgrade to this version or later to address the side-channel vulnerability in base64 PEM file decoding (GitHub).

Additional resources


Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-106016CRITICAL9.8
  • NixOS logoNixOS
  • firefox
NoYesOct 06, 2026
CVE-2026-104048HIGH8.1
  • NixOS logoNixOS
  • sssd-krb5-common
NoYesOct 06, 2026
CVE-2026-104047MEDIUM5.3
  • NixOS logoNixOS
  • libsss_nss_idmap
NoYesOct 06, 2026
CVE-2026-105758MEDIUM5.3
  • NixOS logoNixOS
  • vllm
NoYesOct 05, 2026
CVE-2026-105922LOW2.1
  • NixOS logoNixOS
  • vllm
NoNoOct 06, 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