目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1000

100.0%

CWE-337 PRNG中使用可预测种子 类漏洞列表 11

CWE-337 PRNG中使用可预测种子 类弱点 11 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-337属于伪随机数生成器种子可预测性漏洞。当PRNG使用进程ID或系统时间等可预测值作为种子时,攻击者能大幅缩小猜测范围,从而推算出后续生成的随机数序列,常用于破解会话令牌或加密密钥。开发者应避免使用此类弱源,转而采用操作系统提供的密码学安全随机数生成器,确保种子具备足够的熵和不可预测性,以保障系统安全性。

MITRE CWE 官方描述
CWE:CWE-337 伪随机数生成器 (PRNG) 中的可预测种子 伪随机数生成器 (PRNG) 从可预测的种子(例如进程 ID 或系统时间)初始化。 使用可预测的种子会显著减少攻击者需要测试的可能种子数量,从而使其能够预测 PRNG 将生成的随机数。
常见影响 (1)
OtherVaries by Context
缓解措施 (3)
Use non-predictable inputs for seed generation.
Architecture and Design, RequirementsUse 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.
ImplementationUse 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.
代码示例 (1)
Both of these examples use a statistical PRNG seeded with the current value of the system clock to generate a random number:
Random random = new Random(System.currentTimeMillis()); int accountID = random.nextInt();
Bad · Java
srand(time()); int randNum = rand();
Bad · C
CVE ID标题CVSS风险等级Published
CVE-2026-26018 CoreDNS 安全漏洞 — coredns 7.5 High2026-03-06
CVE-2026-25235 pearweb 安全漏洞 — pearweb 9.1AICriticalAI2026-02-03
CVE-2025-62710 Sakai 安全漏洞 — sakai 5.9 Medium2025-10-22
CVE-2025-55069 AutomationDirect CLICK PLUS 安全漏洞 — CLICK PLUS C0-0x CPU firmware 8.3 High2025-09-23
CVE-2025-7770 Tigo Energy Cloud Connect Advanced 安全漏洞 — Cloud Connect Advanced 9.1AICriticalAI2025-08-06
CVE-2024-7558 Juju 安全漏洞 — Juju 8.7 High2024-10-02
CVE-2023-49343 Ubuntu Budgie Extras 安全漏洞 — Budgie Extras 6.0 Medium2023-12-14
CVE-2022-40267 Mitsubishi Electric MELSEC iQ-F series 安全漏洞 — MELSEC iQ-F Series FX5U-32MT/ES 5.9 Medium2023-01-20
CVE-2016-15006 enigmax 安全漏洞 — enigmaX 3.7 Low2023-01-02
CVE-2022-26852 Dell Technologies Dell PowerScale OneFS安全漏洞 — PowerScale OneFS 8.1 High2022-04-08
CVE-2020-28597 Epignosis EfrontPro 安全漏洞 — Epignosis 9.1 -2021-03-03

CWE-337(PRNG中使用可预测种子) 是常见的弱点类别,本平台收录该类弱点关联的 11 条 CVE 漏洞。