CVE-2021-29946
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-29946 is a security vulnerability discovered in Mozilla Firefox and related products that affects port blocking functionality. The vulnerability was disclosed on April 19, 2021, and affects Firefox ESR < 78.10, Thunderbird < 78.10, and Firefox < 88. The issue allows ports written as an integer overflow above the bounds of a 16-bit integer to bypass port blocking restrictions when used in the Alt-Svc header (Mozilla Advisory, NVD).

Technical details

The vulnerability stems from an implementation flaw in how port numbers are handled. When processing the Alt-Svc header, the system parses port numbers as 32-bit integers without properly checking if they fall within the valid 16-bit port range. This integer overflow condition could allow bypassing of port blocking restrictions. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow attackers to bypass port blocking restrictions, potentially enabling access to normally restricted ports. The impact is rated as 'low' in Mozilla's assessment, though the secondary effects could be more severe in busy network environments, particularly in enterprise scenarios (Mozilla Advisory).

Mitigation and workarounds

The vulnerability was fixed in Firefox 88, Firefox ESR 78.10, and Thunderbird 78.10. The fix involves implementing proper port range validation to ensure port numbers don't exceed 16-bit integer bounds. Users are advised to upgrade to these or later versions to mitigate the vulnerability (Mozilla Advisory, Mozilla Advisory ESR).

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-48639HIGH7.3
  • 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

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