CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG), published in 2022
Filter
The product uses a Pseudo-Random Number Generator (PRNG) but does not correctly manage seeds.
What the weakness is: CWE-335 at MITRE. OWASP Top 10: A04:2025 Cryptographic Failures. All weaknesses
Ask an AI about CWE-335
Show the prompt
Explain CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/335.html and https://cve.bz/cve/cwe/335?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
- 4.3CVE-2022-42159dlinkEPSS 1.0%
D-Link COVR 1200,1202,1203 v1.08 was discovered to have a predictable seed in a Pseudo-Random Number Generator.
- 7.5CVE-2022-31008EPSS 0.4%
RabbitMQ is a multi-protocol messaging and streaming broker. In affected versions the shovel and federation plugins perform URI obfuscation in their worker (link) state. The encryption key used to encrypt the URI was seeded with a predicta…
- 7.5CVE-2022-39218fastly js-computeEPSS 0.9%
The JS Compute Runtime for Fastly's Compute@Edge platform provides the environment JavaScript is executed in when using the Compute@Edge JavaScript SDK. In versions prior to 0.5.3, the `Math.random` and `crypto.getRandomValues` methods fai…
- 8.1CVE-2022-31034argoproj argo cdEPSS 0.9%
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. All versions of Argo CD starting with v0.11.0 are vulnerable to a variety of attacks when an SSO login is initiated from the Argo CD CLI or UI. The vulnerabilities a…
- 7.5CVE-2019-25061random password generator project random password generatorEPSS 1.9%
The random_password_generator (aka RandomPasswordGenerator) gem through 1.0.0 for Ruby uses Kernel#rand to generate passwords, which, due to its cyclic nature, can facilitate password prediction.
- 9.8CVE-2022-26852dell emc powerscale onefsEPSS 1.2%
Dell PowerScale OneFS, versions 8.2.x-9.3.x, contain a predictable seed in pseudo-random number generator. A remote unauthenticated attacker could potentially exploit this vulnerability, leading to an account compromise.
- 8.1CVE-2016-3735piwigoEPSS 1.4%
Piwigo is image gallery software written in PHP. When a criteria is not met on a host, piwigo defaults to usingmt_rand in order to generate password reset tokens. mt_rand output can be predicted after recovering the seed used to generate i…
- 5.5CVE-2021-34600telenot compasxEPSS 0.4%
Telenot CompasX versions prior to 32.0 use a weak seed for random number generation leading to predictable AES keys used in the NFC tags used for local authorization of users. This may lead to total loss of trustworthiness of the installat…
- 7.8CVE-2021-42810thalesgroup safenet authentication service remote desktop gatewayEPSS 0.3%
A flaw in the previous versions of the product may allow an authenticated attacker the ability to execute code as a privileged user on a system where the agent is installed.