CWE-705: Incorrect Control Flow Scoping
Description
The product does not properly return control flow to the proper location after it has completed a task or detected an unusual condition.
- Abstraction
- ClassAn abstract weakness, independent of any specific language or technology.
- Likelihood of exploit
- Not rated by MITRE
- Status
- Incomplete
Common consequences
- Other
Alter Execution Logic; Other
Related weaknesses
Parent weaknesses
Child weaknesses
- CWE-248Uncaught Exception
- CWE-382J2EE Bad Practices: Use of System.exit()
- CWE-395Use of NullPointerException Catch to Detect NULL Pointer Dereference
- CWE-396Declaration of Catch for Generic Exception
- CWE-397Declaration of Throws for Generic Exception
- CWE-455Non-exit on Failed Initialization
- CWE-584Return Inside Finally Block
- CWE-617Reachable Assertion
- CWE-698Execution After Redirect (EAR)
CAPEC attack patterns that exploit it
CWE 4.20 links no CAPEC attack pattern to this weakness.