CWE-124Buffer Underwrite ('Buffer Underflow')

PUBLISHEDweakness recordMedium
released 2006-07-19 · last modified 2025-12-11

Metadata

CWE ID:
CWE-124
摘要:
Base
结构:
Simple
状态:
Incomplete
发布日期:
2006-07-19
更新日期:
2025-12-11

名称

Buffer Underwrite ('Buffer Underflow')

描述

The product writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer.

常见后果

范围:
Integrity, Availability
影响:
Modify Memory, DoS: Crash, Exit, or Restart
注释:
Out of bounds memory access will very likely result in the corruption of relevant memory, and perhaps instructions, possibly leading to a crash.
范围:
Integrity, Confidentiality, Availability, Access Control, Other
影响:
Execute Unauthorized Code or Commands, Modify Memory, Bypass Protection Mechanism, Other
注释:
If the corrupted memory can be effectively controlled, it may be possible to execute arbitrary code. If the corrupted memory is data rather than instructions, the system will continue to function with improper changes, possibly in violation of an implicit or explicit policy. The consequences would only be limited by how the affected data is used, such as an adjacent memory location that is used to specify whether the user has special privileges.
范围:
Access Control, Other
影响:
Bypass Protection Mechanism, Other
注释:
When the consequence is arbitrary code execution, this can often be used to subvert any other security service.

相关 CWE