CWE-1223: Race Condition for Write-Once Attributes

3 CVEs have CWE-1223 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 0.389%.

A write-once register in hardware design is programmable by an untrusted software component earlier than the trusted software component, resulting in a race condition issue.

Implementation issues in hardware design of such controls can expose such registers to a race condition security flaw. For example, consider a hardware design that has two different software/firmware modules executing in parallel. One module is trusted (module A) and another is untrusted (module B). In this design, it could be possible for Module B to send write cycles to the write-once register before Module A. Since the field is write-once, the programmed value from Module A will be ignored and the pre-empted value programmed by Module B will be used by hardware.

Child of CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization

Mitigations

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources