CWE-1069

Empty Exception Block

Medium

Description

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

Potential Impact

How to Fix

Implementation

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

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-1069 vulnerabilities in your codebase.

Get Security Assessment