CWE-495Private Data Structure Returned From A Public Method

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

Metadata

CWE ID:
CWE-495
摘要:
Variant
结构:
Simple
状态:
Draft
发布日期:
2006-07-19
更新日期:
2025-12-11

名称

Private Data Structure Returned From A Public Method

描述

The product has a method that is declared public, but returns a reference to a private data structure, which could then be modified in unexpected ways.

常见后果

范围:
Integrity
影响:
Modify Application Data
注释:
The contents of the data structure can be modified from outside the intended scope.

相关 CWE