CWEweakness

CWE-1342 Information Exposure through Microarchitectural State after Transient Execution

Official page ↗
Abstraction
Base
Structure
Simple
Status
Incomplete
Languages
Not Language-Specific
CWE version
5.0

Description

The processor does not properly clear microarchitectural state after incorrect microcode assists or speculative execution, resulting in transient execution.

Extended description

In many processor architectures an exception, mis-speculation, or microcode assist results in a flush operation to clear results that are no longer required. This action prevents these results from influencing architectural state that is intended to be visible from software. However, traces of this transient execution may remain in microarchitectural buffers, resulting in a change in microarchitectural state that can expose sensitive information to an attacker using side-channel analysis. For example, Load Value Injection (LVI) [REF-1202] can exploit direct injection of erroneous values into intermediate load and store buffers. Several conditions may need to be fulfilled for a successful attack: • incorrect transient execution that results in remanence of sensitive information; • attacker has the ability to provoke microarchitectural exceptions; • operations and structures in victim code that can be exploited must be identified.

Common consequences

• Confidentiality, Integrity: Modify Memory, Read Memory, Execute Unauthorized Code or Commands

Potential mitigations

• [Architecture and Design, Requirements] Hardware ensures that no illegal data flows from faulting micro-ops exists at the microarchitectural level. • [Build and Compilation] Include instructions that explicitly remove traces of unneeded computations from software interactions with microarchitectural elements e.g. lfence, sfence, mfence, clflush.

Observed examples

• CVE-2020-0551: Load value injection in some processors utilizing speculative execution may allow an authenticated user to enable information disclosure via a side-channel with local access.

Related

Attack pattern · CAPEC (1)

  • CAPEC-696 Load Value Injection attack pattern

Observed example · CVE (1)

  • CVE-2020-0551 Load value injection in some Intel(R) Processors utilizing speculative execution may allow an authenticated user to potentially enable… vulnerability

Child of · CWE (1)

  • CWE-226 Sensitive Information in Resource Not Removed Before Reuse weakness

Referenced by CAPEC · weakness (1)

  • CAPEC-696 Load Value Injection attack pattern

Referenced by CVE · weakness (3)

  • CVE-2026-18796 Any application that uses external QSPI flash for encrypted XIP on nRF5340 and relies on that encryption for confidentiality and/or… vulnerability
  • CVE-2023-28746 Information exposure through microarchitectural state after transient execution from some register files for some Intel(R) Atom(R)… vulnerability
  • CVE-2022-40982 Information exposure through microarchitectural state after transient execution in certain vector execution units for some Intel(R)… vulnerability