CWE-617

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.

Mitigation

Phase: Implementation

Description:

  • Make sensitive open/close operation non reachable by directly user-controlled data (e.g. open/close resources)
Mitigation

Phase: Implementation

Strategy: Input Validation

Description:

  • Perform input validation on user data.

No CAPEC attack patterns related to this CWE.

Back to CWE stats page