PT-2022-2364 · Libinput+11 · Libinput+11
Albin Eldstål-Ahrens
+1
·
Published
2022-04-20
·
Updated
2024-04-04
·
CVE-2022-1215
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
libinput version 1.20.1
Description
A format string vulnerability was found in libinput, related to the use of uncontrolled format strings in the evdev log msg function. This vulnerability can be exploited to execute arbitrary code with elevated privileges, particularly when the X-server is run with root privileges. The issue affects environments based on X.Org and Wayland and can be exploited through local device connections or manipulations with Bluetooth devices.
Recommendations
For libinput version 1.20.1, consider updating to a newer version that contains a fix for this vulnerability. As a temporary workaround, restrict access to the evdev log msg function to minimize the risk of exploitation. Avoid using the
evdev log msg function in the affected API endpoints until the issue is resolved.Fix
Use of Externally-Controlled Format String
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Debian
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Libinput