COMMON WEAKNESS ENUMERATIONDraft
CWE-401
Missing Release of Memory after Effective Lifetime
Abstraction
Variant
Structure
Simple
Likelihood of Exploit
Medium
Understand the problem
What is the problem?
Terminology
Alternate terms and usages
Memory Leak
Root cause
How and when does the problem arise?
Lifecycle phase
Implementation
Risk
What does successful exploitation lead to?
DoS: Crash, Exit, or RestartDoS: InstabilityDoS: Resource Consumption (CPU)DoS: Resource Consumption (Memory)
Reduce Performance
Defence
How is it prevented and fixed?
Implementation
Libraries or Frameworks
Detail
Implementation
Libraries or Frameworks
Architecture and Design
Architecture and design approach
Detail
Architecture and Design
Architecture and design approach
Architecture and Design · Build and Compilation
Defence to apply across several lifecycle phases
Detail
Architecture and Design · Build and Compilation
Defence to apply across several lifecycle phases
Verification
How is it detected?
Fuzzing
HighAutomated Dynamic Analysis
ModerateAutomated Static Analysis
HighMITRE diagram
Weakness relationships and flow
