CVE-2024-6563Buffer Overflow Arbitrary Write
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | arm-trusted-firmware | Fix pending | UBUNTU-CVE-2024-6563 | |
| Ubuntu 26.04 | arm-trusted-firmware | Under investigation | UBUNTU-CVE-2024-6563 | |
| Ubuntu 25.10 | arm-trusted-firmware | Will not fix u-boot is built with arm-trusted-firmware | UBUNTU-CVE-2024-6563 | |
| Ubuntu 24.04 | arm-trusted-firmware | Under investigation | UBUNTU-CVE-2024-6563 | |
| Ubuntu 22.04 | arm-trusted-firmware | Under investigation | UBUNTU-CVE-2024-6563 | |
| Ubuntu 20.04 | arm-trusted-firmware | Will not fix u-boot is built with arm-trusted-firmware | UBUNTU-CVE-2024-6563 | |
| Debian 14 | arm-trusted-firmware | Fixed | 2.12.0+dfsg-2 | DEBIAN-CVE-2024-6563 |
| Debian 13 | arm-trusted-firmware | Fixed | 2.12.0+dfsg-2 | DEBIAN-CVE-2024-6563 |
| Debian 12 | arm-trusted-firmware | Fix pending | DEBIAN-CVE-2024-6563 |
What the vendor says
As published in the CVE record by ASRG, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Renesas rcar_gen3_v2.5: affected: c2f286820471ed276c57e603762bd831873e5a17 to c9fb3558410032d2660c7f3b7d4b87dec09fe2f2
References
- https://github.com/renesas-rcar/arm-trusted-firmware/commit/235f85b654a031f7647e81b86fc8e4ffeb430164
- https://asrg.io/security-advisories/cve-2024-6563/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.