Vulnerability · Published Jul 8, 2024 · Assigned by ASRG

CVE-2024-6563Buffer Overflow Arbitrary Write

High 7.5

In plain English

A high-severity buffer overflow in rcar_gen3_v2.5 from Renesas. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.2%top 88.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12arm-trusted-firmwareno fix listedDEBIAN-CVE-2024-6563
Debian:13arm-trusted-firmware2.12.0+dfsg-2DEBIAN-CVE-2024-6563
Debian:14arm-trusted-firmware2.12.0+dfsg-2DEBIAN-CVE-2024-6563
Ubuntu:22.04:LTSarm-trusted-firmwareno fix listedUBUNTU-CVE-2024-6563
Ubuntu:24.04:LTSarm-trusted-firmwareno fix listedUBUNTU-CVE-2024-6563
Ubuntu:25.10arm-trusted-firmwareno fix listedUBUNTU-CVE-2024-6563
Ubuntu:26.04:LTSarm-trusted-firmwareno fix listedUBUNTU-CVE-2024-6563
Ubuntu:26.10arm-trusted-firmwareno fix listedUBUNTU-CVE-2024-6563

Affected products (as reported)

VendorProductVersions
Renesas rcar_gen3_v2.5 c2f286820471ed276c57e603762bd831873e5a17 – through c9fb3558410032d2660c7f3b7d4b87dec09fe2f2

Weakness: CWE-123, CWE-120 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

References