CWE-404Improper Resource Shutdown or Release

PUBLISHEDweakness recordMedium
released 2006-07-19 · last modified 2023-10-26

Metadata

CWE ID:
CWE-404
摘要:
Class
结构:
Simple
状态:
Draft
发布日期:
2006-07-19
更新日期:
2023-10-26

名称

Improper Resource Shutdown or Release

描述

The product does not release or incorrectly releases a resource before it is made available for re-use.

When a resource is created or allocated, the developer is responsible for properly releasing the resource as well as accounting for all potential paths of expiration or invalidation, such as a set period of time or revocation.

常见后果

范围:
Availability, Other
影响:
DoS: Resource Consumption (Other), Varies by Context
注释:
Most unreleased resource issues result in general software reliability problems, but if an attacker can intentionally trigger a resource leak, the attacker might be able to launch a denial of service attack by depleting the resource pool.
范围:
Confidentiality
影响:
Read Application Data
注释:
When a resource containing sensitive information is not correctly shutdown, it may expose the sensitive data in a subsequent allocation.

相关 CWE