CVE-2024-50268
Linux Kernel USB Typec Buffer Overflow
Description
In the Linux kernel, the following vulnerability has been resolved: usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd() The "*cmd" variable can be controlled by the user via debugfs. That means "new_cam" can be as high as 255 while the size of the uc->updated[] array is UCSI_MAX_ALTMODES (30). The call tree is: ucsi_cmd() // val comes from simple_attr_write_xsigned() -> ucsi_send_command() -> ucsi_send_command_common() -> ucsi_run_command() // calls ucsi->ops->sync_control() -> ucsi_ccg_sync_control()
INFO
Published Date :
Nov. 19, 2024, 2:16 a.m.
Last Modified :
Nov. 22, 2024, 10:13 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-50268
.
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-50268
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-50268
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]
Nov. 22, 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:N/A:H Added CWE NIST CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.6 up to (excluding) 5.10.230 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.172 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.117 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.61 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.11.8 *cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616 No Types Assigned https://git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616 Patch Changed Reference Type https://git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f No Types Assigned https://git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f Patch Changed Reference Type https://git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b No Types Assigned https://git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b Patch Changed Reference Type https://git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96 No Types Assigned https://git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96 Patch Changed Reference Type https://git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b No Types Assigned https://git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b Patch Changed Reference Type https://git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4 No Types Assigned https://git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4 Patch -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 19, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd() The "*cmd" variable can be controlled by the user via debugfs. That means "new_cam" can be as high as 255 while the size of the uc->updated[] array is UCSI_MAX_ALTMODES (30). The call tree is: ucsi_cmd() // val comes from simple_attr_write_xsigned() -> ucsi_send_command() -> ucsi_send_command_common() -> ucsi_run_command() // calls ucsi->ops->sync_control() -> ucsi_ccg_sync_control() Added Reference kernel.org https://git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96 [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-50268
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-50268
weaknesses.