关键信息 漏洞标题 FWU does not check the length of the TLV's payload CVE ID CVE-2025-53022 公开披露日期 Jul 21, 2025 影响版本 All versions from TF-M v1.3.0 up to TF-M v2.2.0 inclusive 配置 Any with Firmware Update (FWU) partition enabled 影响 A Type-Length-Value (TLV) payload can be larger than the image dependency resulting in out-of-bounds write 修复版本 6d074b68d3eb3e34038c1b074a68d92a8fea3f82 背景 在固件更新分区中, 函数检查图像候选者的完整性和真实性。在依赖项检查期间,从TLV获取的图像依赖项长度未被验证,可能导致后续步骤中的内存读写溢出。 影响 错误且未经检查的TLV数据可能导致访问候选图像的读写内存超出边界,可能引起程序执行重定向。 缓解措施 在 中添加长度检查,立即在通过 找到下一个TLV后,在依赖项获取期间进行。参见提交 。