CWE-1310: Missing Ability to Patch ROM Code

BaseDraft

Missing an ability to patch ROM code may leave a System or System-on-Chip (SoC) in a vulnerable state.

View on MITRE
Back to CWE Lookup

Extended Description

A System or System-on-Chip (SoC) that implements a boot process utilizing security mechanisms such as Root-of-Trust (RoT) typically starts by executing code from a Read-only-Memory (ROM) component. The code in ROM is immutable, hence any security vulnerabilities discovered in the ROM code can never be fixed for the systems that are already in use. A common weakness is that the ROM does not have the ability to patch if security vulnerabilities are uncovered after the system gets shipped. This leaves the system in a vulnerable state where an adversary can compromise the SoC.

Technical Details

Structure
Simple

Applicable To

Languages
Not Language-Specific
Platforms
Not OS-Specific

Frequently Asked Questions

What is CWE-1310: Missing Ability to Patch ROM Code?+

CWE-1310: Missing Ability to Patch ROM Code is a Common Weakness Enumeration (CWE) entry maintained by MITRE. Missing an ability to patch ROM code may leave a System or System-on-Chip (SoC) in a vulnerable state. A System or System-on-Chip (SoC) that implements a boot process utilizing security mechanisms such as Root-of-Trust (RoT) typically starts by executing code from a Read-only-Memory (ROM) component. The code in ROM is immutable, hence any security vulnerabilities discovered in the ROM code can never be fixed for the systems that are already in use. A common weakness is that the ROM does not have the ability to patch if security vulnerabilities are uncovered after the system gets shipped. This leaves the system in a vulnerable state where an adversary can compromise the SoC.

What are the security consequences of Missing Ability to Patch ROM Code?+

If exploited, CWE-1310 (Missing Ability to Patch ROM Code) it can compromise Other, leading to outcomes such as Varies by Context and Reduce Maintainability.

How do you prevent or mitigate Missing Ability to Patch ROM Code?+

Recommended mitigations for CWE-1310 include: Secure patch support to allow ROM code to be patched on the next boot. Support patches that can be programmed in-field or during manufacturing through hardware fuses. This feature can be used for limited patching of devices after shipping, or for the next batch of silicon devices manufactured, without changing the full device ROM.

Which programming languages are affected by Missing Ability to Patch ROM Code?+

CWE-1310 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-1310 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