COMMON WEAKNESS ENUMERATIONDraft
CWE-135
Incorrect Calculation of Multi-Byte String Length
Abstraction
Base
Structure
Simple
Likelihood of Exploit
Medium
Understand the problem
What is the problem?
Root cause
How and when does the problem arise?
Lifecycle phase
Implementation
Risk
What does successful exploitation lead to?
Execute Unauthorized Code or Commands
Read MemoryDoS: Crash, Exit, or RestartDoS: Resource Consumption (CPU)DoS: Resource Consumption (Memory)
Read Memory
Defence
How is it prevented and fixed?
Implementation
Input Validation
Detail
Implementation
Input Validation
Implementation
Libraries or Frameworks
Detail
Implementation
Libraries or Frameworks
Verification