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

PUBLISHEDweakness record
released 2006-07-19 · last modified 2025-12-11

Metadata

CWE ID:
CWE-337
摘要:
Variant
结构:
Simple
状态:
Draft
发布日期:
2006-07-19
更新日期:
2025-12-11

名称

Predictable Seed in Pseudo-Random Number Generator (PRNG)

描述

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

The use of predictable seeds significantly reduces the number of possible seeds that an attacker would need to test in order to predict which random numbers will be generated by the PRNG.

常见后果

范围:
Other
影响:
Varies by Context

相关 CWE