Lucene search

K
cveASRGCVE-2024-6563
HistoryJul 08, 2024 - 4:15 p.m.

CVE-2024-6563

2024-07-0816:15:09
CWE-123
CWE-120
ASRG
web.nvd.nist.gov
29
cve-2024-6563
buffer overflow
renesas arm-trusted-firmware

CVSS3

7.5

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

EPSS

0

Percentile

9.2%

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/ihttps://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.

Affected configurations

Nvd
Node
renesasarm-trusted-firmwareMatch-
VendorProductVersionCPE
renesasarm-trusted-firmware-cpe:2.3:o:renesas:arm-trusted-firmware:-:*:*:*:*:*:*:*

CNA Affected

[
  {
    "defaultStatus": "unaffected",
    "packageName": "arm-trusted-firmware",
    "product": "rcar_gen3_v2.5",
    "programFiles": [
      "https://github.com/renesas-rcar/arm-trusted-firmware/blob/rcar_gen3_v2.5/drivers/renesas/common/io/io_rcar.c"
    ],
    "repo": "https://github.com/renesas-rcar/arm-trusted-firmware/",
    "vendor": "Renesas",
    "versions": [
      {
        "lessThanOrEqual": "c9fb3558410032d2660c7f3b7d4b87dec09fe2f2",
        "status": "affected",
        "version": "c2f286820471ed276c57e603762bd831873e5a17",
        "versionType": "git"
      }
    ]
  }
]

CVSS3

7.5

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H

EPSS

0

Percentile

9.2%