Katalog CWE

CWE-1061 · Słabość

Insufficient Encapsulation

Abstrakcja
Klasa
Status
Niekompletny
Dodano
29 lipca 2018
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 sufficiently hide the internal representation and implementation details of data or methods, which might allow external components or modules to modify data unexpectedly, invoke unexpected functionality, or introduce dependencies that the programmer did not intend.

Skutki

  • Access Control

    Varies by Context; Bypass Protection Mechanism

    An attacker can access data or methods that were not intended to be accessible.

  • Other

    Reduce Maintainability; Increase Analytical Complexity

    This issue makes it more difficult to maintain the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities. It also might make it easier to introduce vulnerabilities.

Przykłady podatności

Słabość nadrzędna

Słabości podrzędne

Kiedy powstaje

Dotyczy

Not Language-Specific

Źródła

  1. Encapsulation (computer programming) — Wikipedia

Wpis z katalogu CWE 4.20.