capec
Theme
Text size
GitHub Menu

Class in Common Attack Pattern Enumeration and Classification (CAPEC)

CapecRelatedWeakness

A weakness in the Common Weakness Enumeration that can make an attack possible.

URI: capec:class/CapecRelatedWeakness

 classDiagram
    class CapecRelatedWeakness
    click CapecRelatedWeakness href "../../classes/CapecRelatedWeakness/"
      CapecRelatedWeakness : CWE_ID
        
      

Slots#

NameCardinality and RangeDescriptionInheritance
CWE_ID1
CapecNumericId
The weakness’s number in the Common Weakness Enumerationdirect

Usages#

used byused intypeused
CapecAttackPatternRelated_WeaknessesrangeCapecRelatedWeakness

Comments#

  • The XSD says that any one of a pattern’s weaknesses, not all of them, may be enough for the attack to succeed.
  • CWE holds the same link from its own side. CAPEC 3.9 and CWE 5.0 each name the same 1212 pairs, which tests/test_catalogue.py holds, so the two classes are the two ends of one link and the mapping is related.

Identifier and Mapping Information#

Annotations#

propertyvalue
xsd_typeRelatedWeaknessesType/Related_Weakness

Schema Source#

Mappings#

Mapping TypeMapped Value
selfcapec:CapecRelatedWeakness
nativecapec:CapecRelatedWeakness
relatedcwe:CweRelatedAttackPattern
closesepses_capec:RelatedWeakness

LinkML Source#

Direct#

YAML
name: CapecRelatedWeakness
annotations:
  xsd_type:
    tag: xsd_type
    value: RelatedWeaknessesType/Related_Weakness
description: A weakness in the Common Weakness Enumeration that can make an attack
  possible.
comments:
- The XSD says that any one of a pattern's weaknesses, not all of them, may be enough
  for the attack to succeed.
- CWE holds the same link from its own side. CAPEC 3.9 and CWE 5.0 each name the same
  1212 pairs, which tests/test_catalogue.py holds, so the two classes are the two
  ends of one link and the mapping is related.
from_schema: https://w3id.org/lmodel/capec
close_mappings:
- sepses_capec:RelatedWeakness
related_mappings:
- cwe:CweRelatedAttackPattern
attributes:
  CWE_ID:
    name: CWE_ID
    description: The weakness's number in the Common Weakness Enumeration.
    from_schema: https://w3id.org/lmodel/capec/capec_entries
    exact_mappings:
    - wdt:P3624
    related_mappings:
    - cwe:CweWeakness
    rank: 1000
    domain_of:
    - CapecRelatedWeakness
    range: capec_numeric_id
    required: true

Induced#

YAML
name: CapecRelatedWeakness
annotations:
  xsd_type:
    tag: xsd_type
    value: RelatedWeaknessesType/Related_Weakness
description: A weakness in the Common Weakness Enumeration that can make an attack
  possible.
comments:
- The XSD says that any one of a pattern's weaknesses, not all of them, may be enough
  for the attack to succeed.
- CWE holds the same link from its own side. CAPEC 3.9 and CWE 5.0 each name the same
  1212 pairs, which tests/test_catalogue.py holds, so the two classes are the two
  ends of one link and the mapping is related.
from_schema: https://w3id.org/lmodel/capec
close_mappings:
- sepses_capec:RelatedWeakness
related_mappings:
- cwe:CweRelatedAttackPattern
attributes:
  CWE_ID:
    name: CWE_ID
    description: The weakness's number in the Common Weakness Enumeration.
    from_schema: https://w3id.org/lmodel/capec/capec_entries
    exact_mappings:
    - wdt:P3624
    related_mappings:
    - cwe:CweWeakness
    rank: 1000
    owner: CapecRelatedWeakness
    domain_of:
    - CapecRelatedWeakness
    range: capec_numeric_id
    required: true