CVE-2024-6563

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2024-6563
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6563.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-6563
Related
Published
2024-07-08T16:15:09Z
Modified
2024-09-18T03:26:41.061113Z
Severity
  • 6.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / arm-trusted-firmware

Package

Name
arm-trusted-firmware
Purl
pkg:deb/debian/arm-trusted-firmware?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.4+dfsg-2
2.5+dfsg-1
2.5+dfsg-2
2.6~rc0+dfsg-1
2.6+dfsg-1
2.7.0+dfsg-1
2.7.0+dfsg-2
2.8.0+dfsg-1
2.9.0+dfsg-1
2.9.0+dfsg-2
2.9.0+dfsg-3
2.10.0+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / arm-trusted-firmware

Package

Name
arm-trusted-firmware
Purl
pkg:deb/debian/arm-trusted-firmware?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.8.0+dfsg-1
2.9.0+dfsg-1
2.9.0+dfsg-2
2.9.0+dfsg-3
2.10.0+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / arm-trusted-firmware

Package

Name
arm-trusted-firmware
Purl
pkg:deb/debian/arm-trusted-firmware?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.8.0+dfsg-1
2.9.0+dfsg-1
2.9.0+dfsg-2
2.9.0+dfsg-3
2.10.0+dfsg-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}