BaseIncomplete

CWE-1024Comparison of Incompatible Types

Category: other

Description

The product performs a comparison between two entities, but the entities are of different, incompatible types that cannot be guaranteed to provide correct results when they are directly compared.

Common consequences· 1

  • Other — Varies by Context

References

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

Related by meaning· 6

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

CWE
Incomplete Comparison with Missing Factors
CWE
Improper Validation of Specified Type of Input
CWE
Incorrect Comparison
CWE
Incorrect Type Conversion or Cast
CWE
Persistent Storable Data Element without Associated Comparison Control Element
CWE
Comparison Using Wrong Factors
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.