CWE-431
Missing Handler
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.
Parent Weaknesses (ChildOf)
Related Weaknesses
Common Consequences
Scope
Impact
Varies by Context
Potential Mitigations
Handle all possible situations (e.g. error condition).
If an operation can throw an Exception, implement a handler for that specific exception.
CVE-2022-25302SDK for OPC Unified Architecture (OPC UA) is missing a handler for when a cast fails, allowing for a crash
Applicable Platforms
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now