7.5
CWE
123 120 119
EPSS
0.043%
Advisory Published
Updated

CVE-2024-6563: Buffer Overflow Arbitrary Write

First published: Mon Jul 08 2024(Updated: )

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.

Credit: cve@asrg.io

Affected SoftwareAffected VersionHow to fix
Trusted Firmware-m

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203