7.8
HIGH
CVE-2023-52464
Intel ThunderX EDAC Buffer Overflow
Description

In the Linux kernel, the following vulnerability has been resolved: EDAC/thunderx: Fix possible out-of-bounds string access Enabling -Wstringop-overflow globally exposes a warning for a common bug in the usage of strncat(): drivers/edac/thunderx_edac.c: In function 'thunderx_ocx_com_threaded_isr': drivers/edac/thunderx_edac.c:1136:17: error: 'strncat' specified bound 1024 equals destination size [-Werror=stringop-overflow=] 1136 | strncat(msg, other, OCX_MESSAGE_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... 1145 | strncat(msg, other, OCX_MESSAGE_SIZE); ... 1150 | strncat(msg, other, OCX_MESSAGE_SIZE); ... Apparently the author of this driver expected strncat() to behave the way that strlcat() does, which uses the size of the destination buffer as its third argument rather than the length of the source buffer. The result is that there is no check on the size of the allocated buffer. Change it to strlcat(). [ bp: Trim compiler output, fixup commit message. ]

INFO

Published Date :

Feb. 23, 2024, 3:15 p.m.

Last Modified :

June 27, 2024, 1:15 p.m.

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2023-52464 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-52464 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-52464 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 27, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 25, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00016.html [No types assigned]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 28, 2024

    Action Type Old Value New Value
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Apr. 17, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://git.kernel.org/stable/c/426fae93c01dffa379225eb2bd4d3cdc42c6eec5 No Types Assigned https://git.kernel.org/stable/c/426fae93c01dffa379225eb2bd4d3cdc42c6eec5 Patch
    Changed Reference Type https://git.kernel.org/stable/c/475c58e1a471e9b873e3e39958c64a2d278275c8 No Types Assigned https://git.kernel.org/stable/c/475c58e1a471e9b873e3e39958c64a2d278275c8 Patch
    Changed Reference Type https://git.kernel.org/stable/c/5da3b6e7196f0b4f3728e4e25eb20233a9ddfaf6 No Types Assigned https://git.kernel.org/stable/c/5da3b6e7196f0b4f3728e4e25eb20233a9ddfaf6 Patch
    Changed Reference Type https://git.kernel.org/stable/c/6aa7865ba7ff7f0ede0035180fb3b9400ceb405a No Types Assigned https://git.kernel.org/stable/c/6aa7865ba7ff7f0ede0035180fb3b9400ceb405a Patch
    Changed Reference Type https://git.kernel.org/stable/c/700cf4bead80fac994dcc43ae1ca5d86d8959b21 No Types Assigned https://git.kernel.org/stable/c/700cf4bead80fac994dcc43ae1ca5d86d8959b21 Patch
    Changed Reference Type https://git.kernel.org/stable/c/71c17ee02538802ceafc830f0736aa35b564e601 No Types Assigned https://git.kernel.org/stable/c/71c17ee02538802ceafc830f0736aa35b564e601 Patch
    Changed Reference Type https://git.kernel.org/stable/c/9dbac9fdae6e3b411fc4c3fca3bf48f70609c398 No Types Assigned https://git.kernel.org/stable/c/9dbac9fdae6e3b411fc4c3fca3bf48f70609c398 Patch
    Changed Reference Type https://git.kernel.org/stable/c/e1c86511241588efffaa49556196f09a498d5057 No Types Assigned https://git.kernel.org/stable/c/e1c86511241588efffaa49556196f09a498d5057 Patch
    Added CWE NIST CWE-119
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.12.0 up to (excluding) 4.19.306 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20.0 up to (excluding) 5.4.268 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5.0 up to (excluding) 5.10.209 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11.0 up to (excluding) 5.15.148 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16.0 up to (excluding) 6.1.75 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2.0 up to (excluding) 6.6.14 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7.0 up to (excluding) 6.7.2
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Feb. 23, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: EDAC/thunderx: Fix possible out-of-bounds string access Enabling -Wstringop-overflow globally exposes a warning for a common bug in the usage of strncat(): drivers/edac/thunderx_edac.c: In function 'thunderx_ocx_com_threaded_isr': drivers/edac/thunderx_edac.c:1136:17: error: 'strncat' specified bound 1024 equals destination size [-Werror=stringop-overflow=] 1136 | strncat(msg, other, OCX_MESSAGE_SIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... 1145 | strncat(msg, other, OCX_MESSAGE_SIZE); ... 1150 | strncat(msg, other, OCX_MESSAGE_SIZE); ... Apparently the author of this driver expected strncat() to behave the way that strlcat() does, which uses the size of the destination buffer as its third argument rather than the length of the source buffer. The result is that there is no check on the size of the allocated buffer. Change it to strlcat(). [ bp: Trim compiler output, fixup commit message. ]
    Added Reference Linux https://git.kernel.org/stable/c/71c17ee02538802ceafc830f0736aa35b564e601 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/5da3b6e7196f0b4f3728e4e25eb20233a9ddfaf6 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/6aa7865ba7ff7f0ede0035180fb3b9400ceb405a [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/700cf4bead80fac994dcc43ae1ca5d86d8959b21 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/9dbac9fdae6e3b411fc4c3fca3bf48f70609c398 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/e1c86511241588efffaa49556196f09a498d5057 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/426fae93c01dffa379225eb2bd4d3cdc42c6eec5 [No types assigned]
    Added Reference Linux https://git.kernel.org/stable/c/475c58e1a471e9b873e3e39958c64a2d278275c8 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability