cve.bz

CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG), published in 2022

Filter

The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong.

What the weakness is: CWE-338 at MITRE. OWASP Top 10: A04:2025 Cryptographic Failures. All weaknesses

Ask an AI about CWE-338

Show the promptExplain CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/338.html and https://cve.bz/cve/cwe/338?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

  1. 7.5CVE-2022-23472passeo project passeoEPSS 1.0%

    Passeo is an open source python password generator. Versions prior to 1.0.5 rely on the python `random` library for random value selection. The python `random` library warns that it should not be used for security purposes due to its relia…

  2. 9.1CVE-2022-35255EPSS 1.9%

    A weak randomness in WebCrypto keygen vulnerability exists in Node.js 18 due to a change with EntropySource() in SecretKeyGenTraits::DoKeyGen() in src/crypto/crypto_keygen.cc. There are two problems with this: 1) It does not check the retu…

  3. 9.8CVE-2022-44796objectfirst ootbiEPSS 1.0%

    An issue was discovered in Object First Ootbi BETA build 1.0.7.712. The authorization service has a flow that allows getting access to the Web UI without knowing credentials. For signing, the JWT token uses a secret key that is generated t…

  4. 5.2CVE-2022-41210sap customer data cloudEPSS 0.4%

    SAP Customer Data Cloud (Gigya mobile app for Android) - version 7.4, uses insecure random number generator program which makes it easy for the attacker to predict future random numbers. This can lead to information disclosure and modifica…

  5. 7.5CVE-2022-40769profanity project profanityEPSS 1.4%

    profanity through 1.60 has only four billion possible RNG initializations. Thus, attackers can recover private keys from Ethereum vanity addresses and steal cryptocurrency, as exploited in the wild in June 2022.

  6. 9.8CVE-2022-36045nodebbEPSS 1.5%

    NodeBB Forum Software is powered by Node.js and supports either Redis, MongoDB, or a PostgreSQL database. It utilizes web sockets for instant interactions and real-time notifications. `utils.generateUUID`, a helper function available in es…

  7. 7.5CVE-2022-33738openvpn access serverEPSS 1.0%

    OpenVPN Access Server before 2.11 uses a weak random generator used to create user session token for the web portal

  8. 7.4CVE-2022-20817ciscoEPSS 1.0%

    A vulnerability in Cisco Unified IP Phones could allow an unauthenticated, remote attacker to impersonate another user's phone if the Cisco Unified Communications Manager (CUCM) is in secure mode. This vulnerability is due to improper key …

  9. 5.9CVE-2022-29245ssh.net project ssh.netEPSS 1.4%

    SSH.NET is a Secure Shell (SSH) library for .NET. In versions 2020.0.0 and 2020.0.1, during an `X25519` key exchange, the client’s private key is generated with `System.Random`. `System.Random` is not a cryptographically secure random numb…

  10. 7.5CVE-2022-0828w3eden download managerEPSS 1.4%

    The Download Manager WordPress plugin before 3.2.34 uses the uniqid php function to generate the master key for a download, allowing an attacker to brute force the key with reasonable resources giving direct download access regardless of r…

  11. 7.5CVE-2022-26779apache cloudstackEPSS 2.1%

    Apache CloudStack prior to 4.16.1.0 used insecure random number generation for project invitation tokens. If a project invite is created based only on an email address, a random token is generated. An attacker with knowledge of the project…

  12. 8.1CVE-2021-36171fortinet fortiportalEPSS 1.2%

    The use of a cryptographically weak pseudo-random number generator in the password reset feature of FortiPortal before 6.0.6 may allow a remote unauthenticated attacker to predict parts of or the whole newly generated password within a giv…

  13. 8.3CVE-2013-20003silabsEPSS 0.6%

    Z-Wave devices from Sierra Designs (circa 2013) and Silicon Labs (using S0 security) may use a known, shared network key of all zeros, allowing an attacker within radio range to spoof Z-Wave traffic.

  14. 9.8CVE-2021-43799zulipEPSS 5.5%

    Zulip is an open-source team collaboration tool. Zulip Server installs RabbitMQ for internal message passing. In versions of Zulip Server prior to 4.9, the initial installation (until first reboot, or restart of RabbitMQ) does not successf…