An HTTP digest authentication nonce value was generated using rand()
which could lead to predictable values. This vulnerability affects Firefox < 126.
The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG’s algorithm is not cryptographically strong.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Firefox | Ubuntu | focal | * |
Mozjs102 | Ubuntu | devel | * |
Mozjs102 | Ubuntu | esm-apps/noble | * |
Mozjs102 | Ubuntu | jammy | * |
Mozjs102 | Ubuntu | mantic | * |
Mozjs102 | Ubuntu | noble | * |
Mozjs102 | Ubuntu | upstream | * |
Mozjs38 | Ubuntu | esm-apps/bionic | * |
Mozjs38 | Ubuntu | upstream | * |
Mozjs52 | Ubuntu | esm-apps/focal | * |
Mozjs52 | Ubuntu | esm-infra/bionic | * |
Mozjs52 | Ubuntu | focal | * |
Mozjs52 | Ubuntu | upstream | * |
Mozjs68 | Ubuntu | focal | * |
Mozjs68 | Ubuntu | upstream | * |
Mozjs78 | Ubuntu | esm-apps/jammy | * |
Mozjs78 | Ubuntu | jammy | * |
Mozjs78 | Ubuntu | upstream | * |
Mozjs91 | Ubuntu | jammy | * |
Mozjs91 | Ubuntu | upstream | * |
Thunderbird | Ubuntu | mantic | * |
When a non-cryptographic PRNG is used in a cryptographic context, it can expose the cryptography to certain types of attacks. Often a pseudo-random number generator (PRNG) is not designed for cryptography. Sometimes a mediocre source of randomness is sufficient or preferable for algorithms that use random numbers. Weak generators generally take less processing power and/or do not use the precious, finite, entropy sources on a system. While such PRNGs might have very useful features, these same features could be used to break the cryptography.