目标达成 感谢每一位支持者 — 我们达成了 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-2024-43537 Microsoft Windows Mobile Broadband Driver 安全漏洞 — Windows 10 Version 1809 6.5 Medium 2024-10-08
CVE-2024-43502 Microsoft Windows Kernel 安全漏洞 — Windows 10 Version 1809 7.1 High 2024-10-08
CVE-2024-43458 Microsoft Windows 安全漏洞 — Windows 10 Version 1607 7.7 High 2024-09-10
CVE-2024-38260 Microsoft Windows 安全漏洞 — Windows Server 2008 R2 Service Pack 1 8.8 High 2024-09-10
CVE-2024-38257 Microsoft AllJoyn API 安全漏洞 — Windows 10 Version 1607 7.5 High 2024-09-10
CVE-2024-38256 Microsoft Windows Kernel Mode Drivers 安全漏洞 — Windows 10 Version 1507 5.5 Medium 2024-09-10
CVE-2024-38254 Microsoft Windows 安全漏洞 — Windows 10 Version 1507 5.5 Medium 2024-09-10
CVE-2024-8654 MongoDB Server 安全漏洞 — MongoDB Server 5.0 Medium 2024-09-10
CVE-2024-8178 FreeBSD 安全漏洞 — FreeBSD 9.9 - 2024-09-05
CVE-2024-38122 Microsoft Local Security Authority Server 安全漏洞 — Windows 10 Version 1809 5.5 Medium 2024-08-13
CVE-2024-38118 Microsoft Local Security Authority Server 安全漏洞 — Windows 10 Version 1809 5.5 Medium 2024-08-13
CVE-2024-38064 Microsoft Windows TCP/IP component 安全漏洞 — Windows 10 Version 1809 7.5 High 2024-07-09
CVE-2024-36503 Huawei 手机安全漏洞 — HarmonyOS 7.3 High 2024-06-14
CVE-2021-35000 OpenBSD 信息泄露漏洞 — Kernel 5.5 - 2024-05-07
CVE-2021-34999 OpenBSD 安全漏洞 — Kernel 5.5 - 2024-05-07
CVE-2024-26220 Microsoft Windows Mobile Hotspot 安全漏洞 — Windows 10 Version 1809 5.0 Medium 2024-04-09
CVE-2024-26209 Microsoft Windows Local Security Authority Subsystem Service 安全漏洞 — Windows 10 Version 1809 5.5 Medium 2024-04-09
CVE-2024-23314 F5 BIG-IP 安全漏洞 — BIG-IP 7.5 High 2024-02-14
CVE-2024-20694 Microsoft Windows Collaborative Translation Framework 安全漏洞 — Windows 10 Version 1809 5.5 Medium 2024-01-09
CVE-2023-42797 Siemens CP-8031 安全漏洞 — CP-8031 MASTER MODULE 6.6 Medium 2024-01-09
CVE-2023-36012 Microsoft Windows DHCP Server 安全漏洞 — Windows Server 2019 5.3 Medium 2023-12-12
CVE-2023-46100 OpenHarmony 安全漏洞 — OpenHarmony 6.2 Medium 2023-11-20
CVE-2023-36398 Microsoft Windows NTFS 安全漏洞 — Windows 10 Version 1809 6.5 Medium 2023-11-14
CVE-2023-38151 Microsoft Host Integration Server 安全漏洞 — Host Integration Server 2020 8.8 High 2023-11-14
CVE-2023-45663 stb_image 安全漏洞 — stb 5.3 Medium 2023-10-20
CVE-2023-36567 Microsoft Windows Deployment Services 安全漏洞 — Windows 10 Version 1809 7.5 High 2023-10-10
CVE-2023-36704 Microsoft Windows Setup Files Cleanup 安全漏洞 — Windows 10 Version 1809 7.8 High 2023-10-10
CVE-2023-36713 Microsoft Windows Common Log File System Driver 安全漏洞 — Windows 10 Version 1809 5.5 Medium 2023-10-10
CVE-2023-38140 Microsoft Windows Kernel 安全漏洞 — Windows 10 Version 1809 5.5 Medium 2023-09-12
CVE-2023-36913 Microsoft Message Queuing 安全漏洞 — Windows 10 Version 1507 6.5 Medium 2023-08-08

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