CVE-2024-6563: Buffer 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/rcargen3v2.5/drivers/renesas/common/io/i... https://github.Com/renesas-rcar/arm-trusted-firmware/blob/rcargen3v2.5/drivers/renesas/common/io/iorcar.C .
In line 313 "addrloadedcnt" is checked not to be "CHECKIMAGEAREACNT" (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 "addrloadedcnt". This will allow an attacker to freely control the value of "addrloadedcnt" 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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-6563?
CVE-2024-6563 is classified as a critical severity vulnerability due to its potential for local code execution.
How do I fix CVE-2024-6563?
To fix CVE-2024-6563, ensure you update to the latest version of the Renesas arm-trusted-firmware that addresses this vulnerability.
What types of environments are impacted by CVE-2024-6563?
CVE-2024-6563 affects devices running the Renesas arm-trusted-firmware, particularly in embedded systems.
Is CVE-2024-6563 exploitable remotely?
No, CVE-2024-6563 requires local access to exploit the vulnerability.
What are the consequences of exploiting CVE-2024-6563?
Exploiting CVE-2024-6563 can allow an attacker to execute arbitrary code on the affected system.