CWE-1461: Hardware Simulation / Synthesis Mismatch
The hardware design contains structures that are interpreted differently during synthesis than during simulation, which cause inconsistencies in security-relevant behavior between the synthesized implementation and the simulation.
Last updated
Overview
Hardware-description-language (HDL) code describes functionality which can be verified as correct using simulation tools. Synthesis tools then (automatically) convert this into a physically-realizable representation. Certain HDL code structures cannot be exactly represented, or have multiple valid representations from which the synthesis tool must choose. This can result in output which behaves differently to the (functionally-correct) HDL code. These "simulation/synthesis mismatches" may have security consequences.
Common consequences
What can happen when CWE-1461 is exploited.
Varies by Context
Affects: Other
How it happens
Applies to
Languages
Technologies
How to prevent it
Practical mitigations for CWE-1461, grouped by where in the lifecycle they apply.