Safeguard
Application Security•

CWE-1267 Policy Uses Obsolete Encoding: Hardware Access Control

SoC access control often relies on a policy encoder that maps bus transactions to security tokens. If the encoding is obsolete, the protection quietly stops working.

Safeguard Security Team
2 min read

CWE-1267 covers a product that implements access controls with an encoding mechanism that is no longer trusted. It is a hardware design weakness, mostly relevant to teams building System-on-a-Chip (SoC) designs.

How it happens

Inside an SoC, circuits and engines generate transactions to read, write, reset, fetch or compute. Each transaction carries a source identity and a destination identity. Sometimes it also carries a security token, which helps the destination decide what actions are allowed.

A policy encoder maps bus transactions to those tokens, and the tokens act as the access control. The weakness is using an encoding for that job that is obsolete, meaning it is no longer trusted as a protection mechanism.

What an attacker gains

The recorded consequences are broad and rated high: reading and modifying memory, reading and modifying files, executing unauthorized code or commands, gaining privileges, bypassing protection, and causing denial of service through resource consumption or reduced reliability.

How to find it

The record lists no detection methods. In practice, review the policy encoder design and list every encoding it relies on. Check each against the current expectations of your security team and the standards your design follows, and flag any that have been retired.

How to fix it

The record gives no mitigation text, but the definition points to the remedy.

  1. Inventory the encodings used for security tokens and access policies.
  2. Replace any obsolete encoding with one that is currently trusted.
  3. Re-run access control verification after the change, since tokens drive every protection decision downstream.

Quick check

Why does the encoding matter if the policy logic is correct?

The policy decides what is allowed, but the encoding is how that decision is carried and enforced. If the encoding is no longer trusted, the correct policy rides on a weak foundation.

Sources

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.