BaseDraft

CWE-480Use of Incorrect Operator

Category: other

Description

The product accidentally uses the wrong operator, which changes the logic in security-relevant ways. These types of errors are generally the result of a typo by the programmer.

Common consequences· 1

  • Other — Alter Execution Logic
    This weakness can cause unintended logic to be executed and other unexpected application behavior.

References

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

Related by meaning· 6

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

CWE
Operator Precedence Logic Error
CWE
Use of Wrong Operator in String Comparison
CWE
Incorrect Calculation
CWE
Incorrect Comparison
CWE
Incorrect Regular Expression
CWE
Function Call With Incorrect Argument Type
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.