CWE-463Deletion of Data Structure Sentinel

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

Metadata

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

名称

Deletion of Data Structure Sentinel

描述

The accidental deletion of a data-structure sentinel can cause serious programming logic problems.

Often times data-structure sentinels are used to mark structure of the data structure. A common example of this is the null character at the end of strings. Another common example is linked lists which may contain a sentinel to mark the end of the list. It is dangerous to allow this type of control data to be easily accessible. Therefore, it is important to protect from the deletion or modification outside of some wrapper interface which provides safety.

常见后果

范围:
Availability, Other
影响:
Other
注释:
Generally this error will cause the data structure to not work properly.
范围:
Authorization, Other
影响:
Other
注释:
If a control character, such as NULL is removed, one may cause resource access control problems.

相关 CWE