COMMON WEAKNESS ENUMERATIONDraft

CWE-392

Missing Report of Error Condition

The product encounters an error but does not provide a status code or return value to indicate that an error has occurred.

Abstraction

Base

Structure

Simple

Likelihood of Exploit

Medium

Understand the problem

What is the problem?

The product encounters an error but does not provide a status code or return value to indicate that an error has occurred.

Root cause

How and when does the problem arise?

Lifecycle phase

Implementation

Risk

What does successful exploitation lead to?

Varies by ContextUnexpected State

Affected security scopes: Integrity, Other

Errors that are not properly reported could place the system in an unexpected state that could lead to unintended behaviors.

Defence

How is it prevented and fixed?

  • Follow secure coding guidelines for input handling and boundary checking.
  • Enforce strict security reviews and automated static analysis (SAST) checks.