CVE-2025-69217: Insecure Prng For Keys Or Nonces

A cryptographically weak pseudo-random number generator (PRNG) was detected. Functions like `random()`, `rand()`, or weak wrappers (e.g., `turn_random()`) lack sufficient entropy for generating security-sensitive values like authentication nonces, keys, or for port randomization. This allows attackers to reconstruct the internal state and predict future valu

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0C
greprules fetch cve-2025-69217-insecure-prng-for-keys-or-nonces --engine opengrep

Description

A cryptographically weak pseudo-random number generator (PRNG) was detected. Functions like `random()`, `rand()`, or weak wrappers (e.g., `turn_random()`) lack sufficient entropy for generating security-sensitive values like authentication nonces, keys, or for port randomization. This allows attackers to reconstruct the internal state and predict future valu