CVE-2024-38560
"Brocade Fibre Channel Adapter Uncontrolled String Read"
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: bfa: Ensure the copied buf is NUL terminated Currently, we allocate a nbytes-sized kernel buffer and copy nbytes from userspace to that buffer. Later, we use sscanf on this buffer but we don't ensure that the string is terminated inside the buffer, this can lead to OOB read when using sscanf. Fix this issue by using memdup_user_nul instead of memdup_user.
INFO
Published Date :
June 19, 2024, 2:15 p.m.
Last Modified :
Jan. 14, 2025, 3:40 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.2
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-38560
.
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-2024-38560
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-38560
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.
-
Initial Analysis by [email protected]
Jan. 14, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Added CWE NIST CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.19 up to (excluding) 4.19.316 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.278 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.219 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.161 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.93 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.8.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.9 up to (excluding) 6.9.3 Changed Reference Type https://git.kernel.org/stable/c/00b425ff0891283207d7bad607a2412225274d7a No Types Assigned https://git.kernel.org/stable/c/00b425ff0891283207d7bad607a2412225274d7a Patch Changed Reference Type https://git.kernel.org/stable/c/00b425ff0891283207d7bad607a2412225274d7a No Types Assigned https://git.kernel.org/stable/c/00b425ff0891283207d7bad607a2412225274d7a Patch Changed Reference Type https://git.kernel.org/stable/c/13d0cecb4626fae67c00c84d3c7851f6b62f7df3 No Types Assigned https://git.kernel.org/stable/c/13d0cecb4626fae67c00c84d3c7851f6b62f7df3 Patch Changed Reference Type https://git.kernel.org/stable/c/13d0cecb4626fae67c00c84d3c7851f6b62f7df3 No Types Assigned https://git.kernel.org/stable/c/13d0cecb4626fae67c00c84d3c7851f6b62f7df3 Patch Changed Reference Type https://git.kernel.org/stable/c/1708e3cf2488788cba5489e4f913d227de757baf No Types Assigned https://git.kernel.org/stable/c/1708e3cf2488788cba5489e4f913d227de757baf Patch Changed Reference Type https://git.kernel.org/stable/c/1708e3cf2488788cba5489e4f913d227de757baf No Types Assigned https://git.kernel.org/stable/c/1708e3cf2488788cba5489e4f913d227de757baf Patch Changed Reference Type https://git.kernel.org/stable/c/204714e68015d6946279719fd464ecaf57240f35 No Types Assigned https://git.kernel.org/stable/c/204714e68015d6946279719fd464ecaf57240f35 Patch Changed Reference Type https://git.kernel.org/stable/c/204714e68015d6946279719fd464ecaf57240f35 No Types Assigned https://git.kernel.org/stable/c/204714e68015d6946279719fd464ecaf57240f35 Patch Changed Reference Type https://git.kernel.org/stable/c/481fc0c8617304a67649027c4a44723a139a0462 No Types Assigned https://git.kernel.org/stable/c/481fc0c8617304a67649027c4a44723a139a0462 Patch Changed Reference Type https://git.kernel.org/stable/c/481fc0c8617304a67649027c4a44723a139a0462 No Types Assigned https://git.kernel.org/stable/c/481fc0c8617304a67649027c4a44723a139a0462 Patch Changed Reference Type https://git.kernel.org/stable/c/595a6b98deec01b6dbb20139f71edcd5fb760ec2 No Types Assigned https://git.kernel.org/stable/c/595a6b98deec01b6dbb20139f71edcd5fb760ec2 Patch Changed Reference Type https://git.kernel.org/stable/c/595a6b98deec01b6dbb20139f71edcd5fb760ec2 No Types Assigned https://git.kernel.org/stable/c/595a6b98deec01b6dbb20139f71edcd5fb760ec2 Patch Changed Reference Type https://git.kernel.org/stable/c/7510fab46b1cbd1680e2a096e779aec3334b4143 No Types Assigned https://git.kernel.org/stable/c/7510fab46b1cbd1680e2a096e779aec3334b4143 Patch Changed Reference Type https://git.kernel.org/stable/c/7510fab46b1cbd1680e2a096e779aec3334b4143 No Types Assigned https://git.kernel.org/stable/c/7510fab46b1cbd1680e2a096e779aec3334b4143 Patch Changed Reference Type https://git.kernel.org/stable/c/7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c No Types Assigned https://git.kernel.org/stable/c/7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c Patch Changed Reference Type https://git.kernel.org/stable/c/7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c No Types Assigned https://git.kernel.org/stable/c/7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c Patch Changed Reference Type https://git.kernel.org/stable/c/ecb76200f5557a2886888aaa53702da1ab9e6cdf No Types Assigned https://git.kernel.org/stable/c/ecb76200f5557a2886888aaa53702da1ab9e6cdf Patch Changed Reference Type https://git.kernel.org/stable/c/ecb76200f5557a2886888aaa53702da1ab9e6cdf No Types Assigned https://git.kernel.org/stable/c/ecb76200f5557a2886888aaa53702da1ab9e6cdf Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/00b425ff0891283207d7bad607a2412225274d7a Added Reference https://git.kernel.org/stable/c/13d0cecb4626fae67c00c84d3c7851f6b62f7df3 Added Reference https://git.kernel.org/stable/c/1708e3cf2488788cba5489e4f913d227de757baf Added Reference https://git.kernel.org/stable/c/204714e68015d6946279719fd464ecaf57240f35 Added Reference https://git.kernel.org/stable/c/481fc0c8617304a67649027c4a44723a139a0462 Added Reference https://git.kernel.org/stable/c/595a6b98deec01b6dbb20139f71edcd5fb760ec2 Added Reference https://git.kernel.org/stable/c/7510fab46b1cbd1680e2a096e779aec3334b4143 Added Reference https://git.kernel.org/stable/c/7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c Added Reference https://git.kernel.org/stable/c/ecb76200f5557a2886888aaa53702da1ab9e6cdf -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 15, 2024
Action Type Old Value New Value Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
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 Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 19, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: scsi: bfa: Ensure the copied buf is NUL terminated Currently, we allocate a nbytes-sized kernel buffer and copy nbytes from userspace to that buffer. Later, we use sscanf on this buffer but we don't ensure that the string is terminated inside the buffer, this can lead to OOB read when using sscanf. Fix this issue by using memdup_user_nul instead of memdup_user. Added Reference kernel.org https://git.kernel.org/stable/c/481fc0c8617304a67649027c4a44723a139a0462 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/595a6b98deec01b6dbb20139f71edcd5fb760ec2 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/00b425ff0891283207d7bad607a2412225274d7a [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/1708e3cf2488788cba5489e4f913d227de757baf [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/7d3e694c4fe30f3aba9cd5ae86fb947a54c3db5c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/204714e68015d6946279719fd464ecaf57240f35 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/7510fab46b1cbd1680e2a096e779aec3334b4143 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ecb76200f5557a2886888aaa53702da1ab9e6cdf [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/13d0cecb4626fae67c00c84d3c7851f6b62f7df3 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-38560
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-38560
weaknesses.