957
ParentOf 396 Declaration of Catch for Generic Exception 959
ParentOf 460 Improper Cleanup on Thrown Exception 1102
ParentOf 544 Missing Standardized Error Handling Mechanism 1256
ParentOf 636 Not Failing Securely ('Failing Open') 1401
ParentOf 756 Missing Custom Error Page 1579
Relevant to the view "Architectural Concepts" (CWE-1008)
Nature Type ID Name Page
MemberOf 1020 Verify Message Integrity 2434
Applicable Platforms
Language : Not Language-Specific (Prevalence = Undetermined)
Likelihood Of Exploit
Medium
Common Consequences
Scope Impact Likelihood
Other Other
Demonstrative Examples
Example 1:
The following example attempts to resolve a hostname.
Example Language: Java (Bad)
protected void doPost (HttpServletRequest req, HttpServletResponse res) throws IOException {
String ip = req.getRemoteAddr();
InetAddress addr = InetAddress.getByName(ip);
...
CWE Version 4.14
CWE-755: Improper Handling of Exceptional Conditions
CWE-755: Improper Handling of Exceptional Conditions