CVE-2022-47940
"KSMbd SMB2 Write Length Validation Vulnerability"
Description
An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.18 before 5.18.18. fs/ksmbd/smb2pdu.c lacks length validation in the non-padding case in smb2_write.
INFO
Published Date :
Dec. 23, 2022, 4:15 p.m.
Last Modified :
Aug. 21, 2024, 6:19 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.2
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2022-47940 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-2022-47940
.
URL | Resource |
---|---|
http://www.openwall.com/lists/oss-security/2022/12/23/10 | Mailing List Third Party Advisory |
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.18 | Mailing List Patch Vendor Advisory |
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=158a66b245739e15858de42c0ba60fcf3de9b8e6 | Mailing List Patch Vendor Advisory |
https://github.com/torvalds/linux/commit/158a66b245739e15858de42c0ba60fcf3de9b8e6 | Patch Third Party Advisory |
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).
Bash script made for ksmb linux kernel 5.15 vuln check
Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-47940
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-47940
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.
-
Reanalysis by [email protected]
Aug. 21, 2024
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15 up to (excluding) 5.18.8 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15 up to (excluding) 5.15.145 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.18.18 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Dec. 30, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Changed Reference Type http://www.openwall.com/lists/oss-security/2022/12/23/10 No Types Assigned http://www.openwall.com/lists/oss-security/2022/12/23/10 Mailing List, Third Party Advisory Changed Reference Type https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.18 No Types Assigned https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18.18 Mailing List, Patch, Vendor Advisory Changed Reference Type https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=158a66b245739e15858de42c0ba60fcf3de9b8e6 No Types Assigned https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=158a66b245739e15858de42c0ba60fcf3de9b8e6 Mailing List, Patch, Vendor Advisory Changed Reference Type https://github.com/torvalds/linux/commit/158a66b245739e15858de42c0ba60fcf3de9b8e6 No Types Assigned https://github.com/torvalds/linux/commit/158a66b245739e15858de42c0ba60fcf3de9b8e6 Patch, Third Party Advisory Added CWE NIST CWE-125 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.15 up to (excluding) 5.18.8 -
CVE Modified by [email protected]
Dec. 25, 2022
Action Type Old Value New Value Changed Description An issue was discovered in ksmbd in the Linux kernel before 5.18.18. fs/ksmbd/smb2pdu.c lacks length validation in the non-padding case in smb2_write. An issue was discovered in ksmbd in the Linux kernel 5.15 through 5.18 before 5.18.18. fs/ksmbd/smb2pdu.c lacks length validation in the non-padding case in smb2_write. -
CVE Modified by [email protected]
Dec. 23, 2022
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2022/12/23/10 [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-2022-47940
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-2022-47940
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.15 }} 0.02%
score
0.52149
percentile