CWE-617 - Reachable Assertion
- 摘要:Base
- 结构:Simple
- 状态:Draft
- 发布日期:2007-05-07
- 更新日期:2025-12-11
名称
Reachable Assertion
描述
The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.
While assertion is good for catching logic errors and reducing the chances of reaching more serious vulnerability conditions, it can still lead to a denial of service. For example, if a server handles multiple simultaneous connections, and an assert() occurs in one single connection that causes all other connections to be dropped, this is a reachable assertion that leads to a denial of service.
常见后果
范围:Availability
影响:DoS: Crash, Exit, or Restart
注释:An attacker that can trigger an assert statement can still lead to a denial of service if the relevant code can be triggered by an attacker, and if the scope of the assert() extends beyond the attacker's own session.