CVE-2024-43845
Linux udft Uninitialized Memory Access
Description
In the Linux kernel, the following vulnerability has been resolved: udf: Fix bogus checksum computation in udf_rename() Syzbot reports uninitialized memory access in udf_rename() when updating checksum of '..' directory entry of a moved directory. This is indeed true as we pass on-stack diriter.fi to the udf_update_tag() and because that has only struct fileIdentDesc included in it and not the impUse or name fields, the checksumming function is going to checksum random stack contents beyond the end of the structure. This is actually harmless because the following udf_fiiter_write_fi() will recompute the checksum from on-disk buffers where everything is properly included. So all that is needed is just removing the bogus calculation.
INFO
Published Date :
Aug. 17, 2024, 10:15 a.m.
Last Modified :
Oct. 25, 2024, 7:51 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
1.4
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-43845
.
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-43845
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-43845
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]
Oct. 25, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N Changed Reference Type https://git.kernel.org/stable/c/27ab33854873e6fb958cb074681a0107cc2ecc4c No Types Assigned https://git.kernel.org/stable/c/27ab33854873e6fb958cb074681a0107cc2ecc4c Patch Changed Reference Type https://git.kernel.org/stable/c/40d7b3ed52449d36143bab8d3e70926aa61a60f4 No Types Assigned https://git.kernel.org/stable/c/40d7b3ed52449d36143bab8d3e70926aa61a60f4 Patch Changed Reference Type https://git.kernel.org/stable/c/9c439311c13fc6faab1921441165c9b8b500c83b No Types Assigned https://git.kernel.org/stable/c/9c439311c13fc6faab1921441165c9b8b500c83b Patch Changed Reference Type https://git.kernel.org/stable/c/c996b570305e7a6910c2ce4cdcd4c22757ffe241 No Types Assigned https://git.kernel.org/stable/c/c996b570305e7a6910c2ce4cdcd4c22757ffe241 Patch Changed Reference Type https://git.kernel.org/stable/c/fe2ead240c31e8d158713beca9d0681a6e6a53ab No Types Assigned https://git.kernel.org/stable/c/fe2ead240c31e8d158713beca9d0681a6e6a53ab Patch Added CWE NIST CWE-908 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.3 up to (excluding) 6.6.44 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.3 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 22, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/9c439311c13fc6faab1921441165c9b8b500c83b [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 29, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/c996b570305e7a6910c2ce4cdcd4c22757ffe241 [No types assigned] -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: udf: Fix bogus checksum computation in udf_rename() Syzbot reports uninitialized memory access in udf_rename() when updating checksum of '..' directory entry of a moved directory. This is indeed true as we pass on-stack diriter.fi to the udf_update_tag() and because that has only struct fileIdentDesc included in it and not the impUse or name fields, the checksumming function is going to checksum random stack contents beyond the end of the structure. This is actually harmless because the following udf_fiiter_write_fi() will recompute the checksum from on-disk buffers where everything is properly included. So all that is needed is just removing the bogus calculation. Added Reference kernel.org https://git.kernel.org/stable/c/fe2ead240c31e8d158713beca9d0681a6e6a53ab [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/40d7b3ed52449d36143bab8d3e70926aa61a60f4 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/27ab33854873e6fb958cb074681a0107cc2ecc4c [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-43845
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-43845
weaknesses.