CWE-404
Overview
- CWE ID
- 404
- CWE Name
- Improper Resource Shutdown or Release
- CWE Abstraction
- Class
- CWE structure
- Simple
- CWE Status
- Draft
Description
The program does not release or incorrectly releases a resource before it is made available for re-use.
Extended Description
When a resource is created or allocated, the developer is responsible for properly releasing the resource as well as accounting for all potential paths of expiration or invalidation, such as a set period of time or revocation.