Security Resilience

CVE-2024-6563

Memory Safety in Renesas Arm-Trusted-Firmware

Published
08 July 2024
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.0021 11th percentile
Risk Priority 50 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-6563 is a high-severity Classic Buffer Overflow (CWE-120) vulnerability in Renesas Arm-Trusted-Firmware. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Privilege Escalation (T1068); ranked at the 11th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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)…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1189 Drive-by Compromise Initial Access
Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-6564Same product: Renesas Arm-Trusted-Firmware
CVE-2024-1633Same product: Renesas Arm-Trusted-Firmware
CVE-2024-6285Same vendor: Renesas
CVE-2024-6287Same vendor: Renesas
CVE-2024-39768Shared CWE-120
CVE-2026-112521Shared CWE-120
CVE-2023-44835Shared CWE-120
CVE-2024-45746Shared CWE-120
CVE-2024-25254Shared CWE-120
CVE-2025-43370Shared CWE-120

Affected Assets

renesas
arm-trusted-firmware
all versions

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 3 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V5.2.1

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and analysis can find missing size checks before deployment.

Input validation directly enforces size checks before buffer copies.

Memory-protection mechanisms block unauthorized writes to arbitrary locations even if a write-what-where primitive exists.

Engineering principles require bounds checking and safe buffer handling in design.

Process isolation confines the blast radius of an arbitrary write so it cannot affect other domains.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure development practices directly enforce bounds checking and input validation that prevent classic buffer overflows.

ID.RA-01 partial match
blocks

Vulnerability identification processes such as code review or scanning detect classic buffer overflows before exploitation.

PR.PS-02 partial match
blocks

Routine patching replaces vulnerable code containing unchecked buffer copies with corrected versions.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development and acceptance can detect buffer overflows through fuzzing and static analysis, though it does not prevent them at the source.

prevents

A.6.3's training of technical teams in secure coding practices (including awareness of unsafe functions like strcpy, gets, scanf) helps some developers avoid introducing classic buffer overflows, but training is fallible and a different clause (A.8.29 security testing) carries the stronger effect, matching the A.8.28 -> CWE-502 anchor's reasoning.

prevents

Secure coding directly requires bounds-checked memory operations, addressing the root cause of CWE-120.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation weaknesses in delivered code the way those practices do; CWE-123 is a regular software CWE arising from buffer overflows and integer overflows at implementation, and the clause reaches it at the same `partial` rung as CWE-134, with a declared ceiling of `partial` on this verb.

blocks

Secure authentication governs log-on procedures and credential protection, not memory-safety checks on buffer operations, so a buffer overflow remains fully exploitable regardless of authentication strength.

finds

A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw, so it finds buffer overflows in third-party components with published CVEs (a real, named minority) but not the bulk of CWE-120 instances, which live in first-party custom code and are the province of A.8.29's source-reading testing.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

Oracle Linux 8 (1 partial rule)
  • V-248592 OL 8 must clear memory when it is freed to prevent use-after-free attacks. blocks CWE-123
RHEL 8 (1 partial rule)
  • V-230279 RHEL 8 must clear memory when it is freed to prevent use-after-free attacks. blocks CWE-123
Windows 10 (1 partial rule)
  • V-220727 Structured Exception Handling Overwrite Protection (SEHOP) must be enabled. blocks CWE-123

References