CWE-1038 – Insecure Automated Optimizations

Read Time:25 Second

Description

The product uses a mechanism that automatically optimizes code, e.g. to improve a characteristic such as performance, but the optimizations can have an unintended side effect that might violate an intended security assumption.

Modes of Introduction:

– Architecture and Design

 

Likelihood of Exploit: Low

 

Related Weaknesses

CWE-435
CWE-758

 

Consequences

Integrity: Alter Execution Logic

The optimizations alter the order of execution resulting in side effects that were not intended by the original developer.

 

Potential Mitigations

CVE References