Advisory

GHSA-3fmq-x9q6-wm39

Also known as: None

Summary

random_compat Uses insecure CSPRNG

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-05-17 23:27 UTC
Modified
2024-12-02 05:42 UTC

Affected packages and fixes

paragonie/random_compat

Packagist · All systems

Affected

  • introduced 0, fixed 2.0 (ecosystem)

Fixed versions

2.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences