Umbra Wiki weakness weakness/CWE-1069
Back to wiki

CWE-1069 — Empty Exception Block

provenance: imported · CWE: CWE-1069

CWE-1069: Empty Exception Block

MITRE CWE weakness

Kind Weakness
Abstraction Variant
Status Incomplete
Likelihood of exploit

Description

An invokable code block contains an exception handling block that does not contain any code, i.e. is empty.

Common consequences

  • Other: Reduce Reliability

Mitigations

Implementation — For every exception block add code that handles the specific exception in the way intended by the application.

References

  • CWE page: https://cwe.mitre.org/data/definitions/1069.html
  • CWE list: https://cwe.mitre.org/data/index.html