CWE Database
/

CWE-333

Back to CWE list

CWE-333

Improper Handling of Insufficient Entropy in TRNG

Variant
Draft

Description

True random number generators (TRNG) generally have a limited source of entropy and therefore can fail or block.

The rate at which true random numbers can be generated is limited. It is important that one uses them only when they are needed for security.

Common Consequences

Scope

Availability

Impact

DoS: Crash, Exit, or Restart

Potential Mitigations

Implementation

Rather than failing on a lack of random numbers, it is often preferable to wait for more numbers to be created.

Applicable Platforms

Not Language-Specific

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now