CWE-909Missing Initialization of Resource

PUBLISHEDweakness recordMedium
released 2013-02-21 · last modified 2025-12-11

Metadata

CWE ID:
CWE-909
摘要:
Class
结构:
Simple
状态:
Incomplete
发布日期:
2013-02-21
更新日期:
2025-12-11

名称

Missing Initialization of Resource

描述

The product does not initialize a critical resource.

Many resources require initialization before they can be properly used. If a resource is not initialized, it could contain unpredictable or expired data, or it could be initialized to defaults that are invalid. This can have security implications when the resource is expected to have certain properties or values.

常见后果

范围:
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.

相关 CWE