Skip to main content

CWE-1312: Missing Protection for Mirrored Regions in On-Chip Fabric Firewall

BaseDraft

The firewall in an on-chip fabric protects the main addressed region, but it does not protect any mirrored memory or memory-mapped-IO (MMIO) regions.

View on MITRE
Back to CWE Lookup

Extended Description

Few fabrics mirror memory and address ranges, where mirrored regions contain copies of the original data. This redundancy is used to achieve fault tolerance. Whatever protections the fabric firewall implements for the original region should also apply to the mirrored regions. If not, an attacker could bypass existing read/write protections by reading from/writing to the mirrored regions to leak or corrupt the original data.

Technical Details

Structure
Simple

Applicable To

Languages
Not Language-Specific
Platforms
Not OS-Specific

Frequently Asked Questions

What is CWE-1312: Missing Protection for Mirrored Regions in On-Chip Fabric Firewall?+

CWE-1312: Missing Protection for Mirrored Regions in On-Chip Fabric Firewall is a Common Weakness Enumeration (CWE) entry maintained by MITRE. The firewall in an on-chip fabric protects the main addressed region, but it does not protect any mirrored memory or memory-mapped-IO (MMIO) regions. Few fabrics mirror memory and address ranges, where mirrored regions contain copies of the original data. This redundancy is used to achieve fault tolerance. Whatever protections the fabric firewall implements for the original region should also apply to the mirrored regions. If not, an attacker could bypass existing read/write protections by reading from/writing to the mirrored regions to leak or corrupt the original data.

What are the security consequences of Missing Protection for Mirrored Regions in On-Chip Fabric Firewall?+

If exploited, CWE-1312 (Missing Protection for Mirrored Regions in On-Chip Fabric Firewall) it can compromise Confidentiality, Integrity and Access Control, leading to outcomes such as Modify Memory, Read Memory and Bypass Protection Mechanism.

How do you prevent or mitigate Missing Protection for Mirrored Regions in On-Chip Fabric Firewall?+

Recommended mitigations for CWE-1312 include: The fabric firewall should apply the same protections as the original region to the mirrored regions. The fabric firewall should apply the same protections as the original region to the mirrored regions.

How is Missing Protection for Mirrored Regions in On-Chip Fabric Firewall detected?+

CWE-1312 can be detected using Manual Dynamic Analysis. Combining automated tooling with manual review typically yields the best coverage.

Which programming languages are affected by Missing Protection for Mirrored Regions in On-Chip Fabric Firewall?+

CWE-1312 commonly affects Not Language-Specific. Note that weaknesses are often language-agnostic patterns, so secure coding practices apply broadly.

What is the difference between a CWE and a CVE?+

A CWE (Common Weakness Enumeration) like CWE-1312 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.

Learn More