BaseIncomplete
CWE-822Untrusted Pointer Dereference
Category: memory
Description
The product obtains a value from an untrusted source, converts this value to a pointer, and dereferences the resulting pointer.
Common consequences· 3
- Confidentiality — Read MemoryIf the untrusted pointer is used in a read operation, an attacker might be able to read sensitive portions of memory.
- Availability — DoS: Crash, Exit, or RestartIf the untrusted pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" or larger than expected by a read or write operation, the application may terminate unexpectedly.
- Integrity / Confidentiality / Availability — Execute Unauthorized Code or Commands, Modify MemoryIf the untrusted pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.
Related CAPEC attack patterns· 1
References
Exploits (incoming)1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| AttackPattern | Pointer Manipulationcapec-129 | 100% | live |
(incoming)16
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.