Stack-based buffer overflow in cifs-utils - CVE-2022-27239

 

Stack-based buffer overflow in cifs-utils - CVE-2022-27239

Published: June 2, 2022


Vulnerability identifier: #VU63956
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:U/U:Clear
CVE-ID: CVE-2022-27239
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Distrotech
Affected software:
cifs-utils

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error when parsing the "mount.cifs ip=" command-line argument. A local user can pass specially crafted data to the command, trigger a stack-based buffer overflow and execute arbitrary code with root privileges.


How to mitigate CVE-2022-27239

Install updates from vendor's website.

Sources