CWE-459 — Incomplete Cleanup
CWE-459: Incomplete Cleanup
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Base |
| Status | Draft |
| Likelihood of exploit | — |
Description
The product does not properly "clean up" and remove temporary or supporting resources after they have been used.
Common consequences
- Other, Confidentiality, Integrity: Other, Read Application Data, Modify Application Data, DoS: Resource Consumption (Other)
Mitigations
Architecture and Design — Temporary files and other supporting resources should be deleted/released immediately after they are no longer needed.
References
- CWE page: https://cwe.mitre.org/data/definitions/459.html
- CWE list: https://cwe.mitre.org/data/index.html