Weakness (CWE)
CWE-431: Missing Handler
Base Draft
A handler is not available or implemented.
More detail
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.
How to prevent it (2 mitigations)
-
Implementation
Handle all possible situations (e.g. error condition).
-
Implementation
If an operation can throw an Exception, implement a handler for that specific exception.
Source: MITRE CWE-431
1 result · Clear filters · Feed
-
Medium 5.9
An iterator stop condition was missing when handling WASM code in the built-in profiler, potentially leading to invalid…