980
CWE-404: Improper Resource Shutdown or Release
Weakness ID : 404
Structure : Simple
Abstraction : Class
Description
The product does not release or incorrectly releases a resource before it is made available for reuse.
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.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 664 Improper Control of a Resource Through its Lifetime 1454
ParentOf 299 Improper Check for Certificate Revocation 727
ParentOf 459 Incomplete Cleanup 1099
ParentOf 763 Release of Invalid Pointer or Reference 1599
ParentOf 772 Missing Release of Resource after Effective Lifetime 1624
ParentOf 1266 Improper Scrubbing of Sensitive Data from Decommissioned
Device