VYPR

CWE-338

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

BaseDraftLikelihood: Medium

Description

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

Hierarchy (View 1000)

Parents

Children

none

CVEs mapped to this weakness (212)

page 9 of 11
  • CVE-2026-5083MedApr 8, 2026
    risk 0.34cvss 5.3epss 0.00

    Ado::Sessions versions through 0.935 for Perl generates insecure session ids. The session id is generated from a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time may be guessed, if…

  • CVE-2026-5082MedApr 8, 2026
    risk 0.34cvss 5.3epss 0.00

    Amon2::Plugin::Web::CSRFDefender versions from 7.00 through 7.03 for Perl generate an insecure session id. The generate_session_id function will attempt to read bytes from the /dev/urandom device, but if that is unavailable then it generates bytes using SHA-1 hash seeded with…

  • CVE-2025-1805MedApr 2, 2025
    risk 0.34cvss 5.3epss 0.00

    Crypt::Salt for Perl version 0.01 uses insecure rand() function when generating salts for cryptographic purposes.

  • CVE-2025-21617MedJan 6, 2025
    risk 0.34cvss epss 0.00

    Guzzle OAuth Subscriber signs Guzzle requests using OAuth 1.0. Prior to 0.8.1, Nonce generation does not use sufficient entropy nor a cryptographically secure pseudorandom source. This can leave servers vulnerable to replay attacks when TLS is not used. This vulnerability is…

  • CVE-2024-53702MedDec 5, 2024
    risk 0.34cvss 5.3epss 0.00

    Use of cryptographically weak pseudo-random number generator (PRNG) vulnerability in the SonicWall SMA100 SSLVPN backup code generator that, in certain cases, can be predicted by an attacker, potentially exposing the generated secret.

  • CVE-2023-50059MedApr 30, 2024
    risk 0.34cvss 5.3epss 0.00

    An issue ingalxe.com Galxe platform 1.0 allows a remote attacker to obtain sensitive information via the Web3 authentication process of Galxe, the signed message lacks a nonce (random number)

  • CVE-2022-41210MedOct 11, 2022
    risk 0.34cvss 5.2epss 0.00

    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 modification of certain user settings.

  • CVE-2019-19794MedDec 13, 2019
    risk 0.32cvss 5.9epss 0.02

    The miekg Go DNS package before 1.1.25, as used in CoreDNS before 1.6.6 and other products, improperly generates random numbers because math/rand is used. The TXID becomes predictable, leading to response forgeries.

  • CVE-2026-8647MedMay 26, 2026
    risk 0.31cvss 4.8epss 0.00

    Crypt::ScryptKDF versions through 0.010 for Perl uses insecure random number source when no CSPRNG module is available. The random_bytes function fell back to using the built-in rand() function when none of the Perl modules Crypt::PRNG, Crypt::OpenSSL::Random, Net::SSLeay,…

  • CVE-2026-40975MedApr 28, 2026
    risk 0.31cvss 4.8epss 0.00

    Values produced by ${random.value} are not suitable for use as secrets. ${random.uuid} is not affected. ${random.int} and ${random.long} should never be used for secrets as they are numeric values with a predictable range. Affected: Spring Boot 4.0.0–4.0.5 (fix 4.0.6),…

  • CVE-2024-45751MedSep 6, 2024
    risk 0.31cvss 5.9epss 0.01

    tgt (aka Linux target framework) before 1.0.93 attempts to achieve entropy by calling rand without srand. The PRNG seed is always 1, and thus the sequence of challenges is always identical.

  • CVE-2022-23472MedDec 6, 2022
    risk 0.31cvss 5.9epss 0.01

    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 reliance on a non-cryptographically secure…

  • CVE-2021-3678MedAug 4, 2021
    risk 0.31cvss 5.9epss 0.01

    showdoc is vulnerable to Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

  • CVE-2021-3692MedAug 10, 2021
    risk 0.28cvss 5.3epss 0.02

    yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator

  • CVE-2019-8113MedNov 5, 2019
    risk 0.28cvss 5.3epss 0.01

    Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3 or 2.3.2-p1 uses cryptographically weak random number generator to brute-force the confirmation code for customer registration.

  • CVE-2019-7855MedAug 2, 2019
    risk 0.28cvss 5.3epss 0.01

    A cryptograhic flaw in Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2 could be abused by an unauthenticated user to discover an invariant used in gift card generation.

  • CVE-2017-16028MedJun 4, 2018
    risk 0.28cvss 5.3epss 0.01

    react-native-meteor-oauth is a library for Oauth2 login to a Meteor server in React Native. The oauth Random Token is generated using a non-cryptographically strong RNG (Math.random()).

  • CVE-2024-58135MedMay 3, 2025
    risk 0.27cvss 5.3epss 0.01

    Mojolicious versions from 7.28 through 9.45 for Perl will generate weak HMAC session cookie secrets via "mojo generate app" by default. When creating a default app skeleton with the "mojo generate app" tool, a weak secret is written to the application's configuration file using…

  • CVE-2025-22376MedJan 3, 2025
    risk 0.27cvss 5.3epss 0.01

    In Net::OAuth::Client in the Net::OAuth package before 0.29 for Perl, the default nonce is a 32-bit integer generated from the built-in rand() function, which is not cryptographically strong.

  • CVE-2021-3047MedAug 11, 2021
    risk 0.27cvss 4.2epss 0.00

    A cryptographically weak pseudo-random number generator (PRNG) is used during authentication to the Palo Alto Networks PAN-OS web interface. This enables an authenticated attacker, with the capability to observe their own authentication secrets over a long duration on the PAN-OS…