CWEweakness

CWE-1331 Improper Isolation of Shared Resources in Network On Chip (NoC)

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

Description

The Network On Chip (NoC) does not isolate or incorrectly isolates its on-chip-fabric and internal resources such that they are shared between trusted and untrusted agents, creating timing channels.

Extended description

Typically, network on chips (NoC) have many internal resources that are shared between packets from different trust domains. These resources include internal buffers, crossbars and switches, individual ports, and channels. The sharing of resources causes contention and introduces interference between differently trusted domains, which poses a security threat via a timing channel, allowing attackers to infer data that belongs to a trusted agent. This may also result in introducing network interference, resulting in degraded throughput and latency.

Common consequences

• Confidentiality, Availability: DoS: Resource Consumption (Other), Varies by Context, Other — Attackers may infer data that belongs to a trusted agent. The methods used to perform this attack may result in noticeably increased resource consumption.

Potential mitigations

• [Architecture and Design, Implementation] Implement priority-based arbitration inside the NoC and have dedicated buffers or virtual channels for routing secret data from trusted agents.

Detection methods

• Manual Analysis: Providing marker flags to send through the interfaces coupled with examination of which users are able to read or manipulate the flags will help verify that the proper isolation has been achieved and is effective.

Observed examples

• CVE-2021-33096: Improper isolation of shared resource in a network-on-chip leads to denial of service

Related

Attack pattern · CAPEC (1)

  • CAPEC-124 Shared Resource Manipulation attack pattern

Observed example · CVE (1)

  • CVE-2021-33096 Improper isolation of shared resources in network on chip for the Intel(R) 82599 Ethernet Controllers and Adapters may allow an… vulnerability

Child of · CWE (2)

  • CWE-653 Improper Isolation or Compartmentalization weakness
  • CWE-668 Exposure of Resource to Wrong Sphere weakness

Peer of · CWE (1)

  • CWE-1189 Improper Isolation of Shared Resources on System-on-a-Chip (SoC) weakness

Referenced by CAPEC · weakness (1)

  • CAPEC-124 Shared Resource Manipulation attack pattern

Referenced by CWE · peer of (1)

  • CWE-1189 Improper Isolation of Shared Resources on System-on-a-Chip (SoC) weakness