CVE-2022-31742
NixOS vulnerability analysis and mitigation

Overview

CVE-2022-31742 is a security vulnerability affecting Mozilla Firefox < 101, Firefox ESR < 91.10, and Thunderbird < 91.10. The vulnerability was discovered by a researcher named Michal and disclosed in May 2022. It involves a timing attack vulnerability in the WebAuthn implementation that could allow attackers to leak cross-origin information (Mozilla Advisory).

Technical details

The vulnerability stems from a timing attack that can be exploited by sending a large number of allowCredential entries to a WebAuthn token and detecting the time difference between invalid key handles and cross-origin key handles. The vulnerability has a CVSS v3.1 base score of 6.5 MEDIUM (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N) (NVD).

Impact

If exploited, this vulnerability could lead to cross-origin account linking in violation of WebAuthn security goals. This presents a privacy risk as it allows attackers to potentially track users across different origins, which WebAuthn was specifically designed to prevent (Mozilla Advisory).

Mitigation and workarounds

The vulnerability was fixed by implementing limits on the number of allowed key handles in the allowCredentials list on the client side. This fix was released in Firefox 101, Firefox ESR 91.10, and Thunderbird 91.10. The same issue was previously identified and fixed in Chromium under CVE-2021-38022 (Bugzilla).

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