Out-of-bounds read in Linux kernel - CVE-2023-4458

 

Out-of-bounds read in Linux kernel - CVE-2023-4458

Published: June 17, 2024


Vulnerability identifier: #VU92187
CSH Severity: Medium
CVSS v4 BT: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID: CVE-2023-4458
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition when parsing extended attributes within the smb2_open() function in ksmbd. A remote non-authenticated attacker can send specially crafted requests to the daemon, trigger an out-of-bounds read error and read contents of memory on the system.


Affected software

Linux kernel
openEuler
kernel-debuginfo
kernel
python3-perf-debuginfo
python3-perf
perf-debuginfo
perf
kernel-tools-devel
kernel-tools-debuginfo
kernel-tools
kernel-source
kernel-headers
kernel-devel
kernel-debugsource
bpftool-debuginfo
bpftool

How to mitigate CVE-2023-4458

Install updates from vendor's website.

kernel-debuginfo - addressed in versions 5.10.0-276.0.0.178, 5.10.0-276.0.0.179
kernel - addressed in versions 5.10.0-276.0.0.178, 5.10.0-276.0.0.179
python3-perf-debuginfo - addressed in versions 5.10.0-276.0.0.178, 5.10.0-276.0.0.179
python3-perf - addressed in versions 5.10.0-276.0.0.178, 5.10.0-276.0.0.179
perf-debuginfo - addressed in versions 5.10.0-276.0.0.178, 5.10.0-276.0.0.179
perf - addressed in versions 5.10.0-276.0.0.178, 5.10.0-276.0.0.179
kernel-tools-devel - addressed in versions 5.10.0-276.0.0.178, 5.10.0-276.0.0.179
kernel-tools-debuginfo - addressed in versions 5.10.0-276.0.0.178, 5.10.0-276.0.0.179
kernel-tools - addressed in versions 5.10.0-276.0.0.178, 5.10.0-276.0.0.179
kernel-source - addressed in versions 5.10.0-276.0.0.178, 5.10.0-276.0.0.179
kernel-headers - addressed in versions 5.10.0-276.0.0.178, 5.10.0-276.0.0.179
kernel-devel - addressed in versions 5.10.0-276.0.0.178, 5.10.0-276.0.0.179
kernel-debugsource - addressed in versions 5.10.0-276.0.0.178, 5.10.0-276.0.0.179
bpftool-debuginfo - update to 5.10.0-276.0.0.179
bpftool - update to 5.10.0-276.0.0.179

External References

Related Security Bulletins