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

目标: 1000 元 · 已筹: 1336

100%

CWE-908 对未经初始化资源的使用 类漏洞列表 197

CWE-908 对未经初始化资源的使用 类弱点 197 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-908 属于资源使用不当漏洞,指程序访问或操作未初始化的资源。攻击者通常利用此缺陷触发程序崩溃、非法内存访问或引发不可预期的异常行为,进而可能导致拒绝服务或进一步利用。开发者应避免此类问题,需在访问资源前确保其已完成正确的初始化流程,并增加对资源状态的严格检查与错误处理机制,以保障系统的稳定性与安全性。

MITRE CWE 官方描述
CWE:CWE-908 使用未初始化的资源(Use of Uninitialized Resource) 英文:产品使用了或访问了一个尚未初始化的资源。 当资源未被正确初始化时,产品可能会出现意外行为。这可能导致崩溃或无效内存访问,但其后果因资源类型及其在产品中的使用方式而异。
常见影响 (2)
Confidentiality Read Memory, Read Application Data
When reusing a resource such as memory or a program variable, the original contents of that resource may not be cleared before it is sent to an untrusted party.
Availability DoS: Crash, Exit, or Restart
The uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend.
缓解措施 (4)
Implementation Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required steps.
Implementation Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
Implementation Avoid race conditions (CWE-362) during initialization routines.
Build and Compilation Run or compile the product with settings that generate warnings about uninitialized variables or data.
代码示例 (2)
Here, a boolean initiailized field is consulted to ensure that initialization tasks are only completed once. However, the field is mistakenly set to true during static initialization, so the initialization code is never reached.
private boolean initialized = true; public void someMethod() { if (!initialized) { // perform initialization tasks ... initialized = true; }
Bad · Java
The following code intends to limit certain operations to the administrator only.
$username = GetCurrentUser(); $state = GetStateData($username); if (defined($state)) { $uid = ExtractUserID($state); } # do stuff if ($uid == 0) { DoAdminThings(); }
Bad · Perl
CVE ID 标题 CVSS 风险等级 Published
CVE-2023-3488 Silicon Labs Gecko SDK 安全漏洞 — Gecko Bootloader 3.8 Low 2023-07-28
CVE-2023-36836 Juniper Networks Junos OS和Junos OS Evolved 安全漏洞 — Junos OS 4.7 Medium 2023-07-14
CVE-2023-35326 Microsoft Windows CDP User Components 安全漏洞 — Windows 10 Version 1809 5.5 Medium 2023-07-11
CVE-2023-35325 Microsoft Windows Print Spooler Components 安全漏洞 — Windows 10 Version 1809 7.5 High 2023-07-11
CVE-2023-32042 Microsoft Windows OLE 安全漏洞 — Windows 10 Version 1809 6.5 Medium 2023-07-11
CVE-2023-32041 Microsoft Windows Update Orchestrator Service 安全漏洞 — Windows 10 Version 1809 5.5 Medium 2023-07-11
CVE-2023-32016 Microsoft Windows Installer 安全漏洞 — Windows 10 Version 1809 5.5 Medium 2023-06-13
CVE-2023-29367 Microsoft iSCSI Target WMI Provider 安全漏洞 — Windows Server 2019 7.8 High 2023-06-13
CVE-2023-24941 Microsoft Windows Network File System 安全漏洞 — Windows Server 2019 9.8 Critical 2023-05-09
CVE-2023-24886 Microsoft PostScript Printer Driver安全漏洞 — Windows 10 Version 1809 8.8 High 2023-04-11
CVE-2023-27598 OpenSIPS 安全漏洞 — opensips 7.5 High 2023-03-15
CVE-2023-23413 Microsoft PostScript Printer Driver 安全漏洞 — Windows 10 Version 1809 8.8 High 2023-03-14
CVE-2021-32845 HyperKit 安全漏洞 — hyperkit 7.7 High 2023-02-17
CVE-2021-32846 HyperKit 代码问题漏洞 — hyperkit 7.7 High 2023-02-17
CVE-2023-22281 F5 BIG-IP AFM 安全漏洞 — BIG-IP 7.5 High 2023-02-01
CVE-2023-21753 Microsoft Windows 安全漏洞 — Windows 10 Version 1809 5.5 Medium 2023-01-10
CVE-2020-36617 Green End SFTP Server 安全漏洞 — sftpserver 4.6 Medium 2022-12-18
CVE-2022-2949 Altair HyperView Player 安全漏洞 — HyperView Player 7.8 High 2022-12-13
CVE-2022-2950 Altair HyperView Player 安全漏洞 — HyperView Player 7.8 High 2022-12-13
CVE-2022-39282 FreeRDP 安全漏洞 — FreeRDP 3.5 Low 2022-10-12
CVE-2022-29240 Scylla 安全漏洞 — scylla 8.1 High 2022-09-15
CVE-2020-27795 radare2 安全漏洞 — radare2 7.5 - 2022-08-19
CVE-2021-3435 Zephyr 安全漏洞 — zephyr 4.0 Medium 2022-06-28
CVE-2022-31026 Trilogy 安全漏洞 — trilogy 5.9 Medium 2022-06-06
CVE-2022-29205 Google TensorFlow 安全漏洞 — tensorflow 5.5 Medium 2022-05-20
CVE-2022-26370 F5 BIG-IP 安全漏洞 — BIG-IP 5.9 Medium 2022-05-05
CVE-2022-0433 Linux kernel 代码问题漏洞 — kernel 5.5 - 2022-03-09
CVE-2022-23573 Google Tensorflow 安全漏洞 — tensorflow 7.6 High 2022-02-04
CVE-2021-43848 h2o 安全漏洞 — h2o 7.4 High 2022-02-01
CVE-2021-41225 Google TensorFlow 安全漏洞 — tensorflow 5.5 Medium 2021-11-05

CWE-908(对未经初始化资源的使用) 是常见的弱点类别,本平台收录该类弱点关联的 197 条 CVE 漏洞。