Skip to content

random_compat Uses insecure CSPRNG

Low severity GitHub Reviewed Published May 17, 2024 to the GitHub Advisory Database • Updated May 17, 2024

Package

composer paragonie/random_compat (Composer)

Affected versions

< 2.0

Patched versions

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.

References

Published to the GitHub Advisory Database May 17, 2024
Reviewed May 17, 2024
Last updated May 17, 2024

Severity

Low

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-3fmq-x9q6-wm39
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.