dbus-fast is vulnerable to Denial of Service (DoS)
42
CVE Score
Medium
Denial of Service (DoS)
The pre-authentication line readers in the asyncio and GLib message bus backends read the D-Bus auth handshake into a buffer without any size cap and without handling a closed connection. A hostile peer that streams bytes without a terminating CRLF forces the buffer to grow until host memory is exhausted, and on the asyncio path an abrupt disconnect makes the reader spin on empty reads and hang. The fix caps the auth line at 16 KiB, reads in bounded chunks, and raises an AuthError when the peer sends EOF mid-handshake. Both _auth_readline and the GLib _AuthLineSource now surface the error instead of growing unbounded or looping forever.
Upgrade the dbus-fast library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your application connects to an untrusted D-Bus peer.
1.0.0 - 4.2.4
Fixed in 4.2.5dbus-fast is vulnerable to Denial of Service (DoS) in versions 1.0.0 - 4.2.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.