Format string error in libinput - CVE-2022-1215

 

Format string error in libinput - CVE-2022-1215

Published: April 20, 2022


Vulnerability identifier: #VU62452
CSH Severity: Low
CVSS v4: 7 [CVSS:4.0/AV:P/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-1215
CWE-ID: CWE-134
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to a format string error during logging operation. A local user with ability to control the device name, e.g. /dev/uinput or Bluetooth devices can trigger a format string error and execute arbitrary code on the system with elevated privileges.


Affected software

libinput
Amazon Linux AMI
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
Anolis OS
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Oracle Linux
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Desktop
openSUSE Leap
Ubuntu
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
libinput10 (Ubuntu package)
libinput10-32bit-debuginfo
libinput10-32bit
libinput10-debuginfo
libinput10
libinput-debugsource
libinput-devel
libinput-tools
libinput-tools-debuginfo
libinput-udev
libinput-udev-debuginfo
libinput-utils
libinput-debuginfo
libinput
libinput-help
libinput (Red Hat package)
dev-libs/libinput
Red Hat OpenShift Container Platform

How to mitigate CVE-2022-1215

Install updates from vendor's website.

libinput - addressed in versions 1.18.2, 1.19.4, 1.20.1
libinput10 (Ubuntu package) - addressed in versions 1.10.4-1ubuntu0.18.04.3, 1.15.5-1ubuntu0.3, 1.18.1-1ubuntu0.1, 1.20.0-1ubuntu0.1
libinput10-32bit-debuginfo - update to 1.10.5-150000.3.3.1
libinput10-32bit - update to 1.10.5-150000.3.3.1
libinput10-debuginfo - update to 1.10.5-150000.3.3.1
libinput10 - update to 1.10.5-150000.3.3.1
libinput-debugsource - update to 1.10.5-150000.3.3.1
libinput-devel - update to 1.10.5-150000.3.3.1
libinput-tools - update to 1.10.5-150000.3.3.1
libinput-tools-debuginfo - update to 1.10.5-150000.3.3.1
libinput-udev - update to 1.10.5-150000.3.3.1
libinput-udev-debuginfo - update to 1.10.5-150000.3.3.1
libinput-utils - update to 1.15.6-3
libinput-debuginfo - update to 1.15.6-3
libinput-devel - update to 1.15.6-3
libinput - update to 1.15.6-3
libinput-help - update to 1.15.6-3
libinput-debugsource - update to 1.15.6-3
libinput-utils - update to 1.16.3-3
libinput - update to 1.16.3-3
libinput (Red Hat package) - update to 1.19.3-2.el9_0
libinput - update to 1.19.4-1
libinput - addressed in versions 1.19.4-1.fc34, 1.19.4-1.fc35, 1.20.1-1.fc36
dev-libs/libinput - update to 1.20.1
Red Hat OpenShift Container Platform - update to 4.11.0

External References

Related Security Bulletins