Skip to content

CVE-2024-6563 Buffer Overflow Arbitrary Write

MediumCVSS 6.7 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

10 packages: 3 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
debian/arm-trusted-firmware(Debian 12) = 2.8.0+dfsg-1; = 2.9.0+dfsg-1; = 2.9.0+dfsg-2; = 2.9.0+dfsg-3 +7 more No fix listed No fix yet
renesas arm-trusted-firmware All versions No fix listed No fix yet
ubuntu/arm-trusted-firmware(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/arm-trusted-firmware(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/arm-trusted-firmware(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/arm-trusted-firmware(Ubuntu 26.10) All versions No fix listed No fix yet
debian/arm-trusted-firmware(Debian 13) < 2.12.0+dfsg-2 2.12.0+dfsg-2 Fixed
debian/arm-trusted-firmware(Debian 14) < 2.12.0+dfsg-2 2.12.0+dfsg-2 Fixed
renesas rcar_gen3_v2.5 >= c2f286820471ed276c57e603762bd831873e5a17, <= c9fb3558410032d2660c7f3b7d4b87dec09fe2f2 after c9fb3558410032d2660c7f3b7d4b87dec09fe2f2 Fixed
renesas rcar gen3 firmware = v2.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/arm-trusted-firmware(Debian:12) All versions No fix listed
debian/arm-trusted-firmware(Debian:12) = 2.10.0+dfsg-1 No fix listed
debian/arm-trusted-firmware(Debian:12) = 2.10.10+dfsg-1 No fix listed
debian/arm-trusted-firmware(Debian:12) = 2.12.0+dfsg-1 No fix listed
debian/arm-trusted-firmware(Debian:12) = 2.12.0+dfsg-2 No fix listed
debian/arm-trusted-firmware(Debian:12) = 2.12.1+dfsg-1 No fix listed
debian/arm-trusted-firmware(Debian:12) = 2.12.16+dfsg-1 No fix listed
debian/arm-trusted-firmware(Debian:12) = 2.8.0+dfsg-1 No fix listed
debian/arm-trusted-firmware(Debian:12) = 2.9.0+dfsg-1 No fix listed
debian/arm-trusted-firmware(Debian:12) = 2.9.0+dfsg-2 No fix listed
debian/arm-trusted-firmware(Debian:12) = 2.9.0+dfsg-3 No fix listed
debian/arm-trusted-firmware(Debian:13) < 2.12.0+dfsg-2 2.12.0+dfsg-2
debian/arm-trusted-firmware(Debian:14) < 2.12.0+dfsg-2 2.12.0+dfsg-2
ubuntu/arm-trusted-firmware(Ubuntu:22.04) All versions No fix listed
renesas rcar_gen3_v2.5 >= c2f286820471ed276c57e603762bd831873e5a17, <= c9fb3558410032d2660c7f3b7d4b87dec09fe2f2 No fix listed
renesas rcar gen3 firmware = v2.5 No fix listed
ubuntu/arm-trusted-firmware(Ubuntu:24.04) All versions No fix listed
renesas arm-trusted-firmware All versions No fix listed
ubuntu/arm-trusted-firmware(Ubuntu:26.04) All versions No fix listed
ubuntu/arm-trusted-firmware(Ubuntu:26.10) All versions No fix listed

References