When handling a SSLv2-compatible ClientHello request, the server doesnt generate a new random value but sends an all-zero value instead. This results in full malleability of the ClientHello for SSLv2 used for TLS 1.2 in all versions prior to NSS 3.39. This does not impact TLS 1.3.
The product uses a Pseudo-Random Number Generator (PRNG) but does not correctly manage seeds.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Network_security_services | Mozilla | * | 3.39 (excluding) |
Red Hat Enterprise Linux 6 | RedHat | nss-0:3.36.0-9.el6_10 | * |
Red Hat Enterprise Linux 7 | RedHat | nss-0:3.36.0-7.el7_5 | * |
Nss | Ubuntu | bionic | * |
Nss | Ubuntu | cosmic | * |
Nss | Ubuntu | trusty | * |
Nss | Ubuntu | upstream | * |
Nss | Ubuntu | xenial | * |
PRNGs are deterministic and, while their output appears
random, they cannot actually create entropy. They rely on
cryptographically secure and unique seeds for entropy so
proper seeding is critical to the secure operation of the
PRNG.
Management of seeds could be broken down into two main areas:
PRNGs require a seed as input to generate a stream of
numbers that are functionally indistinguishable from
random numbers. While the output is, in many cases,
sufficient for cryptographic uses, the output of any
PRNG is directly determined by the seed provided as
input. If the seed can be ascertained by a third party,
the entire output of the PRNG can be made known to
them. As such, the seed should be kept secret and
should ideally not be able to be guessed. For example,
the current time may be a poor seed. Knowing the
approximate time the PRNG was seeded greatly reduces
the possible key space.
Seeds do not necessarily need to be unique, but reusing seeds may open up attacks if the seed is discovered.