BaseIncomplete

CWE-832Unlock of a Resource that is not Locked

Category: logic

Description

The product attempts to unlock a resource that is not locked. Depending on the locking functionality, an unlock of a non-locked resource might cause memory corruption or other modification to the resource (or its associated metadata that is used for tracking locks).

Common consequences· 1

  • Integrity / Confidentiality / Availability / Other — DoS: Crash, Exit, or Restart, Execute Unauthorized Code or Commands, Modify Memory, Other
    Depending on the locking being used, an unlock operation might not have any adverse effects. When effects exist, the most common consequence will be a corruption of the state of the product, possibly leading to a crash or exit; depending on the implementation of the unlocking, memory corruption or code execution could occur.

References

  1. https://cwe.mitre.org/data/definitions/832.html

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Missing Lock Check
CWE
Multiple Unlocks of a Critical Resource
CWE
Multiple Releases of Same Resource or Handle
CWE
Improper Locking
CWE
Improper Resource Locking
CWE
Unrestricted Externally Accessible Lock
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.