COMMON WEAKNESS ENUMERATIONStable
CWE-476
NULL Pointer Dereference
Abstraction
Base
Structure
Simple
Likelihood of Exploit
Medium
Understand the problem
What is the problem?
Terminology
Alternate terms and usages
NPD
null deref
NPE
nil pointer dereference
Root cause
How and when does the problem arise?
Lifecycle phase
Implementation
Risk
What does successful exploitation lead to?
DoS: Crash, Exit, or Restart
Execute Unauthorized Code or CommandsRead MemoryModify Memory
Defence
How is it prevented and fixed?
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Requirements
Security requirement
Detail
Requirements
Security requirement
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Architecture and Design
Architecture and design approach
Detail
Architecture and Design
Architecture and design approach
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Verification
How is it detected?
Automated Dynamic Analysis
ModerateManual Dynamic Analysis
Automated Static Analysis
HighAutomated Dynamic Analysis
ModerateMITRE diagram
Weakness relationships and flow
