Private Data Structure Returned From A Public Method

Properties


name
Private Data Structure Returned From A Public Method
definition
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.

Neighbors

CWE-495 has no direct neighbors in this release.

Inferred Relationships

This page is experimental and may change significantly in future releases.

Related Countermeasure Techniques

No related defensive techniques in this release.

Related Weaknesses

Related Offensive Techniques

No related offensive techniques in this release.