CVE-2024-6564 Buffer overflow in Rensas RCAR

Medium 6.7 Published Updated

A buffer overflow in Renesas RCAR firmware allows attackers to bypass secure boot and potentially execute arbitrary code.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-6564?

CVE-2024-6564 is a medium-severity memory corruption vulnerability in Renesas rcar_gen3_v2.5, published on 8 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Buffer overflow in "rcar_dev_init" due to using due to using untrusted data (rcar_image_number) as a loop counter before verifying it against RCAR_MAX_BL3X_IMAGE. This could lead to a full bypass of secure boot.

Weakness: CWE-120

Which versions are affected by CVE-2024-6564?

It affects 1 product.

Products include Renesas Arm-Trusted-Firmware.

How do I fix CVE-2024-6564?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-6564 being exploited?

There is no known exploitation of CVE-2024-6564 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2024-6564, GHSA-4f2h-f89q-3w95, UBUNTU-CVE-2024-6564.

Is CVE-2024-6564 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free