CWE一覧に戻る
CWE-783

演算子の優先順位 論理エラー

Operator Precedence Logic Error
脆弱性 レビュー中
JA

この製品では、演算子の優先順位によって誤ったロジックが使用される式が使用されています。

たいていは単なるバグだが、演算子の優先順位のロジック・エラーは、認証の決定など、セキュリティー・クリティカルなコードで使用された場合、深刻な結果をもたらす可能性がある。

EN

The product uses an expression in which operator precedence causes incorrect logic to be used.

While often just a bug, operator precedence logic errors can have serious consequences if they are used in security-critical code, such as making an authentication decision.

Scope: Confidentiality, Integrity, Availability / Impact: Varies by Context; Unexpected State
Regularly wrap sub-expressions in parentheses, especially in security-critical code.
MITRE公式ページ — CWE-783