COMMON WEAKNESS ENUMERATIONDraft
CWE-682
Incorrect Calculation
Abstraction
Pillar
Structure
Simple
Likelihood of Exploit
High
Understand the problem
What is the problem?
Extended description
Root cause
How and when does the problem arise?
Lifecycle phase
Implementation
Risk
What does successful exploitation lead to?
DoS: Crash, Exit, or Restart
DoS: Crash, Exit, or RestartDoS: Resource Consumption (Other)Execute Unauthorized Code or Commands
Gain Privileges or Assume Identity
Bypass Protection Mechanism
Defence
How is it prevented and fixed?
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Implementation
Input Validation
Detail
Implementation
Input Validation
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Architecture and Design
Language Selection
Detail
Architecture and Design
Language Selection
Architecture and Design
Libraries or Frameworks
Detail
Architecture and Design
Libraries or Frameworks
Implementation
Compilation or Build Hardening
Detail
Implementation
Compilation or Build Hardening
Verification