COMMON WEAKNESS ENUMERATIONDraft
CWE-402
Transmission of Private Resources into a New Sphere ('Resource Leak')
Abstraction
Class
Structure
Simple
Likelihood of Exploit
Medium
Understand the problem
What is the problem?
Terminology
Alternate terms and usages
Resource Leak
Root cause
How and when does the problem arise?
Lifecycle phase
Architecture and Design
Lifecycle phase
Implementation
Risk
What does successful exploitation lead to?
Read Application Data
Defence
How is it prevented and fixed?
- Follow secure coding guidelines for input handling and boundary checking.
- Enforce strict security reviews and automated static analysis (SAST) checks.
Verification