BaseIncomplete

CWE-1062Parent Class with References to Child Class

Category: other

Description

The code has a parent class that contains references to a child class, its methods, or its members.

Common consequences· 1

  • Other — Reduce Reliability
    This issue can prevent the product from running reliably. If the relevant code is reachable by an attacker, then this reliability problem might introduce a vulnerability.

References

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

Related by meaning· 6

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

CWE
Parent Class without Virtual Destructor Method
CWE
Method Containing Access of a Member Element from Another Class
CWE
Class with Excessive Number of Child Classes
CWE
Parent Class with a Virtual Destructor and a Child Class without a Virtual Destructor
CWE
Class with Excessively Deep Inheritance
CWE
Excessively Deep Nesting
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.