CVE-2021-29974
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-29974 is a security vulnerability discovered in Mozilla Firefox versions prior to 90.0. The issue emerged when network partitioning was enabled, particularly through Enhanced Tracking Protection settings. In this scenario, Firefox would incorrectly allow users to override TLS error pages on domains that had specified HTTP Strict Transport Security (HSTS), which by design should not be override-able (Mozilla Advisory, NVD).

Technical details

The vulnerability stems from Firefox using incorrect Origin Attributes (OAs) when checking HSTS state during the loading of certificate error pages. Specifically, the browser used OAs without the partitionKey to check the HSTS state, resulting in an incorrect state being displayed on the error page. While this did not affect the actual network layer HSTS implementation, it allowed users to bypass security restrictions that should have been enforced (Mozilla Bug). The vulnerability has been assigned a CVSS v3.1 Base Score of 4.3 (Medium) and a CVSS v2.0 Base Score of 2.6 (Low) (NVD).

Impact

The impact of this vulnerability was moderate, as it could allow users to bypass HSTS protections on affected domains. While the network connections were still correctly upgraded to HTTPS automatically, the vulnerability created a situation where users could override security errors that should have been non-overrideable, potentially exposing them to man-in-the-middle attacks (Mozilla Advisory).

Mitigation and workarounds

The vulnerability was fixed in Firefox 90.0. Users and organizations were advised to upgrade to this version or later to address the issue. The fix involved modifying Firefox to use the correct Origin Attributes with the partitionKey when checking HSTS state in the nsDocShell component (Mozilla Bug). Various Linux distributions also released security updates to address this vulnerability, including Ubuntu and Gentoo (Ubuntu Notice, Gentoo 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-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

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