Out-of-bounds read in Linux D-Bus Message Broker - CVE-2022-31212

 

Out-of-bounds read in Linux D-Bus Message Broker - CVE-2022-31212

Published: September 21, 2022


Vulnerability identifier: #VU67527
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-31212
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition when parsing DBus service Exec line in c-uitl/c-shquote. A local user can pass specially crafted input to the service, trigger an out-of-bounds read error and perform a denial of service (DoS) attack.


Affected software

Linux D-Bus Message Broker
Gentoo Linux
Amazon Linux AMI
Fedora
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support
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
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Oracle Linux
openEuler
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
dbus-broker
dbus-broker (Red Hat package)
dbus-broker-debuginfo
dbus-broker-debugsource
sys-apps/dbus-broker

How to mitigate CVE-2022-31212

Install updates from vendor's website.

Linux D-Bus Message Broker - update to 31
dbus-broker - update to 28-4.el8
dbus-broker (Red Hat package) - update to 28-5.1.el9_0
dbus-broker - update to 29-4
dbus-broker-debuginfo - update to 29-4
dbus-broker-debugsource - update to 29-4
sys-apps/dbus-broker - update to 31
dbus-broker - update to 32-1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins