What it is
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.
Impact on systems
| Scope | Impact |
|---|---|
| Availability | DoS: Crash, Exit, or Restart While assertion is good for catching logic errors and reducing the chances of reaching more serious vulnerability conditions, an attacker can still cause a denial of service if they can trigger an assert statement, and if the scope of the assert() extends beyond the attacker's own session. For example, if a server handles multiple simultaneous connections, if an assert() occurs in one single connection that causes all other connections to be dropped, this could be a significant denial of service. |
How to prevent it
Source: MITRE CWE catalog · Official entry on the MITRE website