CVE-2023-4421
NixOS vulnerability analysis and mitigation

Overview

A vulnerability was discovered in NSS (Network Security Service) library, identified as CVE-2023-4421. The issue involved information leakage through timing side-channels in PKCS#1 v1.5 decryption depadding code. The vulnerability was fixed in NSS version 3.61, released on January 22, 2021, although the disclosure was embargoed until December 2023 (Mozilla Advisory).

Technical details

The vulnerability stemmed from NSS code used for checking PKCS#1 v1.5, which leaked information through timing side-channels. The leakage occurred in two aspects: the overall correctness of the padding and the length of the encrypted message. The issue was addressed by implementing the implicit rejection algorithm, where NSS returns a deterministic random message when invalid padding is detected, as proposed in the Marvin Attack paper (Mozilla Advisory, Snyk).

Impact

The vulnerability could allow an attacker to decrypt previously intercepted PKCS#1 v1.5 ciphertexts, such as TLS sessions that used RSA key exchange, or forge signatures using the victim's key. The attack could be executed in less than 24 hours for a local network attack against a 2048-bit key (Mozilla Advisory).

Mitigation and workarounds

The vulnerability was fixed in NSS version 3.61 by implementing the implicit rejection algorithm. This solution ensures that NSS returns a deterministic random message when invalid padding is detected, effectively preventing the timing side-channel attack (Mozilla 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-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-0821MEDIUM6.9
  • NixOSNixOS
  • quickjs
NoNoJan 10, 2026
CVE-2025-68949MEDIUM5.3
  • NixOSNixOS
  • n8n
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026
CVE-2026-23497LOW1.3
  • NixOSNixOS
  • learning
NoYesJan 14, 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