• 公告ID (KylinSec-SA-2024-4965)

摘要:

arm-trusted-firmware security update

安全等级: Medium

公告ID: KylinSec-SA-2024-4965

发布日期: 2024年7月19日

关联CVE: CVE-2024-6563   CVE-2024-6564  

  • 详细介绍

1. 漏洞描述

   

Trusted Firmware-A is a reference implementation of secure world software for Arm A-Profile architectures (Armv8-A and Armv7-A), including an Exception Level 3 (EL3) Secure Monitor.

Security Fix(es):

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in Renesas arm-trusted-firmware allows Local Execution of Code. This vulnerability is associated with program files https://github.Com/renesas-rcar/arm-trusted-firmware/blob/rcar_gen3_v2.5/drivers/renesas/common/io/i... https://github.Com/renesas-rcar/arm-trusted-firmware/blob/rcar_gen3_v2.5/drivers/renesas/common/io/io_rcar.C .




In line 313 "addr_loaded_cnt" is checked not to be "CHECK_IMAGE_AREA_CNT" (5) or larger, this check does not halt the function. Immediately after (line 317) there will be an overflow in the buffer and the value of "dst" will be written to the area immediately after the buffer, which is "addr_loaded_cnt". This will allow an attacker to freely control the value of "addr_loaded_cnt" and thus control the destination of the write immediately after (line 318). The write in line 318 will then be fully controlled by said attacker, with whichever address and whichever value ("len") they desire.(CVE-2024-6563)

Buffer overflow in "rcar_dev_init" due to using due to using untrusted data (rcar_image_number) as a loop counter before verifying it against RCAR_MAX_BL3X_IMAGE. This could lead to a full bypass of secure boot.(CVE-2024-6564)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-6563 V6 arm-trusted-firmware Fixed
CVE-2024-6564 V6 arm-trusted-firmware Fixed

3. 影响组件

    arm-trusted-firmware

4. 修复版本

   

V6

软件名称 架构 版本号
arm-trusted-firmware-armv8 aarch64 2.9-5.ks6

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

V6:

x86_64:

aarch64:

     arm-trusted-firmware-armv8   

上一篇:KylinSec-SA-2024-4806 下一篇:KylinSec-SA-2024-4966