CVE-2024-6287 Incorrect Address Range Calculations

High 7.5 Published Updated

An attacker can bypass memory restrictions to overwrite loaded images, enabling code execution and secure boot bypass in Renesas firmware.

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-6287?

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

Official description

Incorrect Calculation vulnerability in Renesas arm-trusted-firmware allows Local Execution of Code.

When checking whether a new image invades/overlaps with a previously loaded image the code neglects to consider a few cases. that could An attacker to bypass memory range restriction and overwrite an already loaded image partly or completely, which could result in code execution and bypass of secure boot.

Weakness: CWE-682

Which versions are affected by CVE-2024-6287?

It affects 1 product.

Products include Renesas Rcar Gen3.

How do I fix CVE-2024-6287?

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-6287 being exploited?

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

Sources

Also known as DEBIAN-CVE-2024-6287, GHSA-gwvv-gr8w-ggvq, OESA-2024-2544, UBUNTU-CVE-2024-6287.

Is CVE-2024-6287 in your software?

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

Check your SBOMs for free