OESA-2024-1850

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-1850
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-1850.json
JSON Data
https://api.osv.dev/v1/vulns/OESA-2024-1850
Upstream
Published
2024-07-19T11:08:31Z
Modified
2025-09-03T06:20:44.227846Z
Summary
arm-trusted-firmware security update
Details

Trusted Firmware-A is a reference implementation of secure world software for Arm A-Profile architectures (Armv8-A and Armv7-A), including an Exception Level 3 (EL3) Secure Monitor.

Security Fix(es):

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/rcargen3v2.5/drivers/renesas/common/io/i... https://github.Com/renesas-rcar/arm-trusted-firmware/blob/rcargen3v2.5/drivers/renesas/common/io/io_rcar.C .

In line 313 "addrloadedcnt" is checked not to be "CHECKIMAGEAREACNT" (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 "addrloadedcnt". This will allow an attacker to freely control the value of "addrloaded_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.(CVE-2024-6563)

Buffer overflow in "rcardevinit" due to using due to using untrusted data (rcarimagenumber) as a loop counter before verifying it against RCARMAXBL3X_IMAGE. This could lead to a full bypass of secure boot.(CVE-2024-6564)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:22.03-LTS-SP3 / arm-trusted-firmware

Package

Name
arm-trusted-firmware
Purl
pkg:rpm/openEuler/arm-trusted-firmware&distro=openEuler-22.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3-5.oe2203sp3

Ecosystem specific

{
    "src": [
        "arm-trusted-firmware-2.3-5.oe2203sp3.src.rpm"
    ],
    "aarch64": [
        "arm-trusted-firmware-armv8-2.3-5.oe2203sp3.aarch64.rpm"
    ]
}