CWE-333: Improper Handling of Insufficient Entropy in TRNG

Variant Draft Simple

CWE版本: 4.18

更新日期: 2025-09-09

弱点描述

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.

常见后果

影响范围: Availability

技术影响: DoS: Crash, Exit, or Restart

说明: A program may crash or block if it runs out of random numbers.

潜在缓解措施

阶段: Implementation

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

引入模式

阶段 说明
Architecture and Design -
Implementation REALIZATION: This weakness is caused during implementation of an architectural security tactic.

适用平台

编程语言
Not Language-Specific (Undetermined)

分类映射

分类名称 条目ID 条目名称 映射适配度
CLASP - Failure of TRNG -
The CERT Oracle Secure Coding Standard for Java (2011) MSC02-J Generate strong random numbers -
关键信息

CWE ID: CWE-333

抽象级别: Variant

结构: Simple

状态: Draft

利用可能性: Low

相关弱点