CVEfocus › CVE database › CVE-2024-6563

CVE-2024-6563Buffer Overflow Arbitrary Write

CVSS 7.5 HighEPSS 0.2% (higher than 11% of CVEs)Published 2024-07-08Updated 2024-08-01Assigner: ASRG

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.

CWE-120CWE-123

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
2Fix pending
3Under investigation
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10arm-trusted-firmwareFix pendingUBUNTU-CVE-2024-6563
Ubuntu 26.04arm-trusted-firmwareUnder investigationUBUNTU-CVE-2024-6563
Ubuntu 25.10arm-trusted-firmwareWill not fix
u-boot is built with arm-trusted-firmware
UBUNTU-CVE-2024-6563
Ubuntu 24.04arm-trusted-firmwareUnder investigationUBUNTU-CVE-2024-6563
Ubuntu 22.04arm-trusted-firmwareUnder investigationUBUNTU-CVE-2024-6563
Ubuntu 20.04arm-trusted-firmwareWill not fix
u-boot is built with arm-trusted-firmware
UBUNTU-CVE-2024-6563
Debian 14arm-trusted-firmwareFixed2.12.0+dfsg-2DEBIAN-CVE-2024-6563
Debian 13arm-trusted-firmwareFixed2.12.0+dfsg-2DEBIAN-CVE-2024-6563
Debian 12arm-trusted-firmwareFix pendingDEBIAN-CVE-2024-6563

What the vendor says

As published in the CVE record by ASRG, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.