Skip to content
OpenAdvisories

Weakness (CWE)

CWE-337: Predictable Seed in Pseudo-Random Number Generator (PRNG)

Variant Draft

A Pseudo-Random Number Generator (PRNG) is initialized from a predictable seed, such as the process ID or system time.

How to prevent it (3 mitigations)
  1. Use non-predictable inputs for seed generation.

  2. Architecture and Design, Requirements

    Use products or modules that conform to FIPS 140-2 [REF-267] to avoid obvious entropy problems, or use the more recent FIPS 140-3 [REF-1192] if possible.

  3. Implementation

    Use a PRNG that periodically re-seeds itself using input from high-quality sources, such as hardware devices with high entropy. However, do not re-seed too frequently, or else the entropy source might block.

Source: MITRE CWE-337

8 results · Clear filters · Feed

  • High 8.3

    XDG Desktop Portal: Drag-and-drop and copy-paste theft via predictable FileTransfer key

    XDG Desktop Portal is a desktop integration portal. Prior to version 1.22.1, malicious sandboxed applications can use the FileTransfer.RetrieveFiles method to redirect drag-and-drop and copy-paste data targeted at other applications to itself. Some portals ge…

  • High 7.7

    A predictable seed in the pseudo-random number generator (PRNG) in the IFTTT pairing token generation of the ASUS RT-BE…

  • High 7.5

    CoreDNS Loop Detection Denial of Service Vulnerability

    CoreDNS is a DNS server that chains plugins. Prior to version 1.14.2, a denial of service vulnerability exists in CoreDNS's loop detection plugin that allows an attacker to crash the DNS server by sending specially crafted DNS queries. The vulnerability stems…

  • High 8.2

    PEAR Has a Predictable Verification Hash in Election Account Requests

    PEAR is a framework and distribution system for reusable PHP components. Prior to version 1.33.0, predictable verification hashes may allow attackers to guess verification tokens and potentially verify election account requests without authorization. This iss…

  • High 8.3

    AutomationDirect CLICK PLUS Predictable Seed in Pseudo-Random Number Generator

    A predictable seed in pseudo-random number generator vulnerability has been discovered in firmware version 3.60 of the Click Plus PLC. The vulnerability relies on the fact that the software implements a predictable seed for its pseudo-random number generator,…

  • High 8.7

    Predictable Seed in Pseudo-Random Number Generator (PRNG) in Tigo Energy Cloud Connect Advanced

    Tigo Energy's CCA device is vulnerable to insecure session ID generation in their remote API. The session IDs are generated using a predictable method based on the current timestamp, allowing attackers to recreate valid session IDs. When combined with the abi…

  • High 8.7

    JUJU_CONTEXT_ID is a predictable authentication secret

    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 JUJU_CONTEXT_ID value…

  • High 8.1

    Dell PowerScale OneFS, versions 8.2.x-9.3.x, contain a predictable seed in pseudo-random number generator. A remote una…