CWE•Base•Draft•5 recent CVEs
CWE-413Improper Resource Locking
Description
The product does not lock or does not correctly lock a resource when the product must have exclusive access to the resource.
When a resource is not properly locked, an attacker could modify the resource while it is being operated on by the product. This might violate the product's assumption that the resource will not change, potentially leading to unexpected behaviors.
Common consequences
- Integrity,Availability→Modify Application Data,DoS: Instability,DoS: Crash, Exit, or Restart
Potential mitigations
- Architecture and DesignUse a non-conflicting privilege scheme.
- Architecture and Design,ImplementationUse synchronization when locking a resource.