目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1325

100%

CWE-1222 类漏洞列表 1

CWE-1222 类弱点 1 条 CVE 漏洞汇总,含 AI 中文分析。

CWE-1222 属于配置错误类漏洞,指寄存器锁保护地址区域的粒度不足。攻击者利用此缺陷,在系统启动时通过设置配置锁定位,阻止软件在运行时修改关键地址,导致功能冲突或拒绝服务。开发者应避免使用粗粒度的全局锁定机制,需细化保护范围,确保仅锁定真正需要防篡改的区域,从而平衡系统配置安全与运行时功能需求。

MITRE CWE 官方描述
CWE:CWE-1222 寄存器锁(Register Locks)保护的地址区域(Address Regions)粒度不足 英文:产品定义了一个由同一个寄存器锁控制位(register lock control bit)保护、防止被修改的大地址区域(large address region)。这导致了功能需求与安全需求之间的冲突:功能需求要求某些地址在运行期间可由软件进行写入,而安全需求则要求系统配置锁位(system configuration lock bit)必须在启动过程中被设置。 集成电路(Integrated circuits)和硬件 IP(Hardware IPs)可能会暴露设备配置控制(device configuration controls),这些控制需要在设备电源复位后由受信任的固件或软件模块(通常由 BIOS/bootloader 设置)进行编程,然后锁定以防止任何进一步的修改。在硬件设计中,这通常通过使用可编程锁位(programmable lock bit)来实现,该锁位启用或禁用对一组受保护寄存器或地址区域的写入。当可编程锁位被设置时,相关的地址区域可以在硬件逻辑中实现为硬编码值,此后无法更改。可能会出现的问题是,受保护区域的定义粒度不够细。一旦设置了可编程锁位,则在不更改硬件设计的情况下无法实现新的功能。
常见影响 (1)
Access ControlOther
System security configuration cannot be defined in a way that does not conflict with functional requirements of device.
缓解措施 (1)
Architecture and DesignThe defining of protected locked registers should be reviewed or tested early in the design phase with software teams to ensure software flows are not blocked by the security locks. As an alternative to using register lock control bits and fixed access control regions, the hardware design could use programmable security access control configuration so that device trusted firmware can configure and…
代码示例 (1)
For example, consider a hardware unit with a 32 kilobyte configuration address space where the first 8 kilobyte address contains security sensitive controls that must only be writable by device bootloader. One way to protect the security configuration could be to define a 32 bit system configuration locking register (SYS_LOCK) where each bit lock locks the corresponding 1 kilobyte region.
Address Register 0x0000 SYS_LOCK: 32 bit system configuration lock register, each bit is write-1-once 0x0004 SECURITY_FEATURE_ENABLE: 32 bit register controlling enabling of security features ... 0x0310 SW_MODE: 32 bit Software Mode indication register Address region Lock bit 0x0000 - 0x03FF SYS_LOCK[0] 0x0400 - 0x07FF SYS_LOCK[1] ... 0x7C00 - 0x7FFF SYS_LOCK[31]
Bad · Other
CVE ID标题CVSS风险等级Published
CVE-2025-21283 Microsoft Edge 安全漏洞 — Microsoft Edge (Chromium-based) 6.5 Medium2025-02-06

CWE-1222 是常见的弱点类别,本平台收录该类弱点关联的 1 条 CVE 漏洞。