Umbra Wiki weakness weakness/CWE-394
Back to wiki

CWE-394 — Unexpected Status Code or Return Value

provenance: imported · CWE: CWE-394

CWE-394: Unexpected Status Code or Return Value

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Draft
Likelihood of exploit

Description

The product does not properly check when a function or operation returns a value that is legitimate for the function, but is not expected by the product.

Common consequences

  • Integrity, Other: Unexpected State, Alter Execution Logic

Mitigations

(none listed)

References

  • CWE page: https://cwe.mitre.org/data/definitions/394.html
  • CWE list: https://cwe.mitre.org/data/index.html