user/dbus: CVE-2020-12049: denial of service via file descriptor leak
Bugzilla ID | 295 |
Alias(es) | CVE-2020-12049 |
Reporter | Max Rees (sroracle) |
Assignee | Max Rees (sroracle) |
Reported | 2020-06-04 13:16:10 -0500 |
Modified | 2020-06-15 16:38:59 -0500 |
Status | RESOLVED FIXED |
Version | 1.0-RC1 |
Hardware | Adélie Linux / All |
Importance | --- / normal |
URL | https://www.openwall.com/lists/oss-security/2020/06/04/3 |
Description
CVE-2020-12049: https://www.openwall.com/lists/oss-security/2020/06/04/3
Kevin Backhouse of the GitHub Security Lab discovered a denial of
service vulnerability[0] in dbus >= 1.3.0. An unprivileged local
attacker can cause the system dbus-daemon (dbus-daemon --system) to
leak file descriptors (fds) by sending messages with a number of fds
that exceeds the allowed number, resulting in truncation. The
attacker's connection is (correctly) disconnected, but the fds that
were attached to the truncated message are (incorrectly) not closed.
By repeating this process, the attacker can make the dbus-daemon reach
its RLIMIT_NOFILE limit. When this limit is reached, new connections
will fail, and existing connections will be unable to send messages
with fds attached, causing denial of service.The same attack is also possible in the uncommon situation where
processes of different privilege levels communicate directly using a
private D-Bus socket (DBusServer) without going via a dbus-daemon.
Fixed in >= 1.12.18