What it is
The product does not check the return value from a method or function.
Impact on systems
| Scope | Impact |
|---|---|
| Availability, Integrity | Unexpected State, Varies by Context, DoS: Crash, Exit, or Restart The product could be prevented from detecting unexpected states and conditions, placing the product into a state that could lead to a crash or other unintended behaviors. |
| Access Control | Bypass Protection Mechanism If the method/function is used for a protection mechanism, then an unchecked return value could prevent the code from being able to see if the protection mechanism fails. For example, if the program calls a function to drop privileges but does not check the return code to ensure that privileges were successfully dropped, then the program will continue to operate with the higher privileges. |
How to prevent it
Source: MITRE CWE catalog · Official entry on the MITRE website