CVE-2023-52596
Linux sysctl Out-of-Bounds Access Vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: sysctl: Fix out of bounds access for empty sysctl registers When registering tables to the sysctl subsystem there is a check to see if header is a permanently empty directory (used for mounts). This check evaluates the first element of the ctl_table. This results in an out of bounds evaluation when registering empty directories. The function register_sysctl_mount_point now passes a ctl_table of size 1 instead of size 0. It now relies solely on the type to identify a permanently empty register. Make sure that the ctl_table has at least one element before testing for permanent emptiness.
INFO
Published Date :
March 6, 2024, 7:15 a.m.
Last Modified :
Feb. 14, 2025, 4:40 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2023-52596 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-2023-52596
.
URL | Resource |
---|---|
https://git.kernel.org/stable/c/15893975e9e382f8294ea8d926f08dc2d8d39ede | Mailing List Patch |
https://git.kernel.org/stable/c/2ae7081bc10123b187e36a4f3a8e53768de31489 | Mailing List Patch |
https://git.kernel.org/stable/c/315552310c7de92baea4e570967066569937a843 | Mailing List Patch |
https://git.kernel.org/stable/c/15893975e9e382f8294ea8d926f08dc2d8d39ede | Mailing List Patch |
https://git.kernel.org/stable/c/2ae7081bc10123b187e36a4f3a8e53768de31489 | Mailing List Patch |
https://git.kernel.org/stable/c/315552310c7de92baea4e570967066569937a843 | Mailing List Patch |
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).
None
HTML C# CSS JavaScript Dockerfile
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-52596
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-52596
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]
Feb. 14, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NIST CWE-787 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 6.6.16 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.7.4 Changed Reference Type https://git.kernel.org/stable/c/15893975e9e382f8294ea8d926f08dc2d8d39ede No Types Assigned https://git.kernel.org/stable/c/15893975e9e382f8294ea8d926f08dc2d8d39ede Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/15893975e9e382f8294ea8d926f08dc2d8d39ede No Types Assigned https://git.kernel.org/stable/c/15893975e9e382f8294ea8d926f08dc2d8d39ede Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/2ae7081bc10123b187e36a4f3a8e53768de31489 No Types Assigned https://git.kernel.org/stable/c/2ae7081bc10123b187e36a4f3a8e53768de31489 Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/2ae7081bc10123b187e36a4f3a8e53768de31489 No Types Assigned https://git.kernel.org/stable/c/2ae7081bc10123b187e36a4f3a8e53768de31489 Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/315552310c7de92baea4e570967066569937a843 No Types Assigned https://git.kernel.org/stable/c/315552310c7de92baea4e570967066569937a843 Mailing List, Patch Changed Reference Type https://git.kernel.org/stable/c/315552310c7de92baea4e570967066569937a843 No Types Assigned https://git.kernel.org/stable/c/315552310c7de92baea4e570967066569937a843 Mailing List, 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/15893975e9e382f8294ea8d926f08dc2d8d39ede Added Reference https://git.kernel.org/stable/c/2ae7081bc10123b187e36a4f3a8e53768de31489 Added Reference https://git.kernel.org/stable/c/315552310c7de92baea4e570967066569937a843 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Mar. 06, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: sysctl: Fix out of bounds access for empty sysctl registers When registering tables to the sysctl subsystem there is a check to see if header is a permanently empty directory (used for mounts). This check evaluates the first element of the ctl_table. This results in an out of bounds evaluation when registering empty directories. The function register_sysctl_mount_point now passes a ctl_table of size 1 instead of size 0. It now relies solely on the type to identify a permanently empty register. Make sure that the ctl_table has at least one element before testing for permanent emptiness. Added Reference Linux https://git.kernel.org/stable/c/15893975e9e382f8294ea8d926f08dc2d8d39ede [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/2ae7081bc10123b187e36a4f3a8e53768de31489 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/315552310c7de92baea4e570967066569937a843 [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-2023-52596
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-2023-52596
weaknesses.