Katalog CWE

CWE-413 · Słabość

Improper Resource Locking

Abstrakcja
Bazowa
Status
Szkic
Dodano
19 lipca 2006
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

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.

Skutki

  • Integrity, Availability

    Modify Application Data; DoS: Instability; DoS: Crash, Exit, or Restart

Zapobieganie

  • Architecture and Design

    Use a non-conflicting privilege scheme.

  • Architecture and Design, Implementation

    Use synchronization when locking a resource.

Przykłady podatności

Słabość nadrzędna

Słabości podrzędne

Kiedy powstaje

Dotyczy

Not Language-Specific

Wpis z katalogu CWE 4.20.