BaseDraft

CWE-431Missing Handler

Category: other

Description

A handler is not available or implemented. When an exception is thrown and not caught, the process has given up an opportunity to decide if a given failure or event is worth a change in execution.

Common consequences· 1

  • Other — Varies by Context

Potential mitigations· 2

  • [Implementation]Handle all possible situations (e.g. error condition).
  • [Implementation]If an operation can throw an Exception, implement a handler for that specific exception.

References

  1. https://cwe.mitre.org/data/definitions/431.html

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Uncaught Exception
CWE
Empty Exception Block
CWE
Insufficient Documentation of Error Handling Techniques
CWE
Improper Handling of Exceptional Conditions
CWE
Missing Standardized Error Handling Mechanism
CWE
Detection of Error Condition Without Action
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.