COMMON WEAKNESS ENUMERATIONIncomplete

CWE-1066

Missing Serialization Control Element

The product contains a serializable data element that does not have an associated serialization method.

Abstraction

Base

Structure

Simple

Likelihood of Exploit

Medium

Understand the problem

What is the problem?

The product contains a serializable data element that does not have an associated serialization method.

Root cause

How and when does the problem arise?

Lifecycle phase

Implementation

As examples, the serializable nature of a data element comes from a serializable SerializableAttribute attribute in .NET and the inheritance from the java.io.Serializable interface in Java.

Risk

What does successful exploitation lead to?

Reduce Reliability

Affected security scopes: Other

This issue can prevent the product from running reliably, e.g. by triggering an exception. If the relevant code is reachable by an attacker, then this reliability problem might introduce a vulnerability.

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.