CVE-2022-22757
NixOS vulnerability analysis and mitigation

Overview

Remote Agent, a component used in Firefox's WebDriver functionality, contained a security vulnerability (CVE-2022-22757) where it failed to validate Host or Origin headers. This vulnerability was discovered by James Graham and affected Firefox versions prior to 97. The issue was fixed and disclosed in February 2022 (Mozilla Advisory).

Technical details

The vulnerability stemmed from the Remote Agent's failure to properly validate Host and Origin headers in WebSocket connections. This security flaw was present in the WebSocket handshake implementation. The vulnerability received a CVSS v3.1 Base Score of 6.5 (Medium) with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N (NVD).

Impact

The vulnerability could allow malicious websites to establish a connection back to the user's browser and potentially control it through the WebDriver interface. However, the impact was limited as this vulnerability only affected Firefox installations where WebDriver was enabled, which is not the default configuration (Mozilla Advisory).

Mitigation and workarounds

The vulnerability was addressed in Firefox version 97. Users were advised to update their Firefox installations to this version or later. The fix involved implementing proper validation of Host and Origin headers in the WebSocket handshake process (Ubuntu Notice).

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-14330CRITICAL9.8
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • rhel10::thunderbird-flatpak
NoYesDec 09, 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