Katalog CWE

CWE-480 · Słabość

Use of Incorrect Operator

Abstrakcja
Bazowa
Status
Szkic
Ryzyko wykorzystania
niskie
Dodano
19 lipca 2006
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

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.

Skutki

  • Other

    Alter Execution Logic

    This weakness can cause unintended logic to be executed and other unexpected application behavior.

Przykłady podatności

Słabość nadrzędna

Słabości podrzędne

Kiedy powstaje

Dotyczy

C, C++, Perl, Not Language-Specific

Źródła

  1. The CLASP Application Security Process — Secure Software, Inc., 2005
  2. The Art of Software Security Assessment — Mark Dowd, John McDonald, Justin Schuh, Chapter 6, "Typos", Page 289, Addison Wesley, 2006
  3. csr_regile.sv line 938 — 2021
  4. Fix for csr_regfile.sv line 938 — 2021

Wpis z katalogu CWE 4.20.