Katalog CWE

CWE-407 · Słabość

Inefficient Algorithmic Complexity

Abstrakcja
Klasa
Status
Niekompletny
Ryzyko wykorzystania
niskie
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

An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.

Inne nazwy

Quadratic Complexity
Used when the algorithmic complexity is related to the square of the number of inputs (N^2)

Skutki

  • Availability

    DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)

    The typical consequence is CPU consumption, but memory consumption and consumption of other resources can also occur.

Przykłady podatności

Słabość nadrzędna

Słabości podrzędne

Kiedy powstaje

Dotyczy

Not Language-Specific

Źródła

  1. Algorithmic Complexity Attacks — Scott A. Crosby, Dan S. Wallach, Proceedings of the 12th USENIX Security Symposium, 2003
  2. Catastrophic backtracking — Ilya Kantor, 2020

Wpis z katalogu CWE 4.20.