Detect Unexpected Status Code or Return Value with Automated Static Analysis
Documented detection approaches include Automated Static Analysis; recorded impacts include Unexpected State, and Alter Execution Logic; observed examples include CVE-2004-1395, CVE-2002-2124, and CVE-2005-2553. Use these source-defined anchors to turn CWE-394 into implementation, review, and verification checks for the affected component.
CWE-394: Unexpected Status Code or Return Value — MITRE CWE