CVE-2024-4772
NixOS vulnerability analysis and mitigation

Overview

CVE-2024-4772 is a security vulnerability discovered in Firefox versions prior to 126, where an HTTP digest authentication nonce value was generated using the rand() function, which could lead to predictable values. The vulnerability was reported by security researcher Hanno Böck and was fixed in Firefox 126, released in May 2024 (Mozilla Advisory, NVD).

Technical details

The vulnerability stems from the use of the insecure rand() function to generate random nonce values in HTTP digest authentication. The affected code was located in nsHttpDigestAuth.cpp, where a cnonce (client nonce) value was generated using the rand() function instead of a cryptographically secure random number generator. The vulnerability has been assigned a CVSS 3.1 Base Score of 5.9 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L (NVD).

Impact

The vulnerability could potentially lead to information leakage about the state of the rand() RNG to an attacker. While classified as low severity by Mozilla, the predictable nonce values could potentially compromise the security of HTTP digest authentication mechanisms. The exact security impact was not fully determined, but it could affect the overall security of the authentication process (Mozilla Bug).

Exploitability

The vulnerability was rated with a low impact by Mozilla's security team. There are no known reports of this vulnerability being exploited in the wild. The exploitation would require understanding the inner workings of the HTTP Digest authentication protocol and the ability to predict or manipulate the generated nonce values (Mozilla Advisory).

Mitigation and workarounds

The vulnerability was fixed in Firefox 126 by replacing the insecure rand() function with PK11_GenerateRandom, a secure random number generator. Users are advised to upgrade to Firefox 126 or later versions to receive the security fix. The fix has been implemented in the main release branch and backported to supported versions (Mozilla Bug).

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-18713HIGH8.8
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18669HIGH8.8
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18235HIGH8.3
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-17420MEDIUM6.3
  • NixOS logoNixOS
  • i
NoNoAug 12, 2026
CVE-2026-18250MEDIUM5
  • NixOS logoNixOS
  • i
NoNoAug 12, 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