D-Bus Vulnerability (CVE-2022-42012) in dbus Package
Summary
CVE-2022-42012: An issue was discovered in D-Bus before 1.12.24, 1.13.x and 1.14.x before 1.14.4, and 1.15.x before 1.15.2. Affects dbus across 2 version ranges.
< 1.12.24-r0
< 5ff925648e88ba29cef7d708bc2bbc5d6de5fc48
Fixed in 1.12.24-r0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
D-Bus is a message bus system that allows communication between applications running on the same machine. It provides a simple and reliable way for processes to exchange messages. The dbus package is an implementation of the D-Bus protocol for Linux and other Unix-like systems. It is used by various programs to enable inter-process communication. However, a vulnerability has been discovered in D-Bus that can lead to crashes in dbus-daemon and other programs using libdbus.
Vulnerability Detail
The vulnerability (CVE-2022-42012) in D-Bus allows an authenticated attacker to crash dbus-daemon and other programs that use libdbus by sending a message with attached file descriptors in an unexpected format. This can be exploited to disrupt the normal operation of affected systems and potentially cause denial of service (DoS) conditions. The vulnerability has a CVSS score of 6.5, indicating a medium severity level.
How To Fix
Minimum fixed version
1.12.24-r0
This is the first release that contains the fix.
sudo apk add --upgrade dbus
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to apply the recommended fix by updating the dbus package to the patched version.
Conclusion
The D-Bus vulnerability (CVE-2022-42012) in the dbus package can be exploited by an authenticated attacker to crash dbus-daemon and other programs using libdbus. To mitigate the risk, it is essential to update the dbus package to version 1.12.24 or later. This update includes a patch that addresses the vulnerability and prevents the crash caused by the unexpected format of file descriptors in messages. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for dbus →
FAQ
D-Bus is a message bus system that enables communication between applications running on the same machine. It provides a simple and reliable way for processes to exchange messages.
The vulnerability allows an authenticated attacker to crash dbus-daemon and other programs using libdbus by sending a message with file descriptors in an unexpected format. This can lead to denial of service (DoS) conditions and disrupt the normal operation of affected systems.
To fix the vulnerability, update the dbus package to version 1.12.24 or later. This update includes a patch that addresses the issue and prevents the crash caused by the unexpected format of file descriptors in messages.
No, there is no known workaround for this vulnerability. It is crucial to apply the recommended fix by updating the dbus package to the patched version.
The CVSS score of this vulnerability is 6.5, indicating a medium severity level.
Related vulnerabilities
Recent vulnerabilities recorded for dbus.