All reports
Low

random_compat Uses insecure CSPRNG

Affected versions

Affected versions
< 2.0
Fixed version
2.0

Description

random_compat versions prior to 2.0 are affected by a security vulnerability related to the insecure usage of Cryptographically Secure Pseudo-Random Number Generators (CSPRNG). The affected versions use openssl_random_pseudo_bytes(), which may result in insufficient entropy and compromise the security of generated random numbers.

Links