🛡️ GHSA-3fmq-x9q6-wm39 — random-compat

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-331 OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

random_compat Uses insecure CSPRNG

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.

Weakness class

GHSA-3fmq-x9q6-wm39 is classified as CWE-331: Insufficient Entropy. A generator is seeded with too little randomness, narrowing the range of outputs an attacker must search.

Affected software

GHSA-3fmq-x9q6-wm39 is recorded against 1 package.

  • paragonie/random-compat (fixed in 2.0)

Timeline and source

Published on 17 May 2024 and last revised on 2 December 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Web)
github.com (Package)

Details

Severity LOW
CVSS Score 2.0
CVSS Vector N/A
CWE CWE-331
Public Exploit ✅ No
Source OSV
Published 2024-05-17
Updated 2026-08-20
Modified 2024-12-02
Fix URL N/A

Affected Packages

Software From version Fixed in
paragonie/random-compat 2.0

Free Vulnerability Check

Is your site affected by GHSA-3fmq-x9q6-wm39?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-3fmq-x9q6-wm39 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesGitHub AdvisoryGitHub Advisory Undated