CWE-637Unnecessary Complexity in Protection Mechanism (Not Using 'Economy of Mechanism')

PUBLISHEDweakness record
released 2008-01-30 · last modified 2025-04-03

Metadata

CWE ID:
CWE-637
摘要:
Class
结构:
Simple
状态:
Draft
发布日期:
2008-01-30
更新日期:
2025-04-03

名称

Unnecessary Complexity in Protection Mechanism (Not Using 'Economy of Mechanism')

描述

The product uses a more complex mechanism than necessary, which could lead to resultant weaknesses when the mechanism is not correctly understood, modeled, configured, implemented, or used.

Security mechanisms should be as simple as possible. Complex security mechanisms may engender partial implementations and compatibility problems, with resulting mismatches in assumptions and implemented security. A corollary of this principle is that data specifications should be as simple as possible, because complex data specifications result in complex validation code. Complex tasks and systems may also need to be guarded by complex security checks, so simple systems should be preferred.

常见后果

范围:
Other
影响:
Other

相关 CWE