CWE-337: Predictable Seed in Pseudo-Random Number Generator (PRNG), published in 2024
Filter
A Pseudo-Random Number Generator (PRNG) is initialized from a predictable seed, such as the process ID or system time.
What the weakness is: CWE-337 at MITRE. OWASP Top 10: A04:2025 Cryptographic Failures. All weaknesses
Ask an AI about CWE-337
Show the prompt
Explain CWE-337: Predictable Seed in Pseudo-Random Number Generator (PRNG) and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/337.html and https://cve.bz/cve/cwe/337?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 8.0CVE-2024-7558canonical jujuEPSS 0.5%
JUJU_CONTEXT_ID is a predictable authentication secret. On a Juju machine (non-Kubernetes) or Juju charm container (on Kubernetes), an unprivileged user in the same network namespace can connect to an abstract domain socket and guess the J…
- 2.8CVE-2024-22194lfprojectsEPSS 0.3%
cdo-local-uuid project provides a specialized UUID-generating function that can, on user request, cause a program to generate deterministic UUIDs. An information leakage vulnerability is present in `cdo-local-uuid` at version `0.4.0`, and …