Buffer overflow in Renesas Arm-Trusted-Firmware
CVE-2024-6563
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.
Vulnerability class: Buffer Overflow
EPSS: 0.002 (11.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Renesas Arm-trusted-firmware
- Renesas Rcar_gen3_v2.5 — versions c2f286820471ed276c57e603762bd831873e5a17
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@asrg.io (Patch)
- cve@asrg.io (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2024-6563?
- CVE-2024-6563 is a high-severity vulnerability in Renesas Arm-Trusted-Firmware, classified under Buffer Copy without Checking Size of Input (Classic Buffer Overflow). CVSS score: 7.5/10. Published 2024-07-08.
- How severe is CVE-2024-6563?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2024-6563 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.