CVE-2020-35512 Use after free in D-Bus Development branch
A use-after-free in D-Bus allows attackers to cause crashes or undefined behavior when multiple usernames share the same UID and specific policy rules are applied.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-35512?
CVE-2020-35512 is a high-severity use after free vulnerability in D-Bus Development branch, published on 15 Feb 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A use-after-free flaw was found in D-Bus Development branch <= 1.13.16, dbus-1.12.x stable branch <= 1.12.18, and dbus-1.10.x and older branches <= 1.10.30 when a system has multiple usernames sharing the same UID. When a set of policy rules references these usernames, D-Bus may free some memory in the heap, which is still used by data structures necessary for the other usernames sharing the UID, possibly leading to a crash or other undefined behaviors
Weakness: CWE-416
Which versions are affected by CVE-2020-35512?
It affects 1 product.
Linux distribution packages (37)
dbus-1 SUSE:Enterprise Storage 6 | All versions | 1.12.2-8.6.1 |
dbus-1-x11 SUSE:Enterprise Storage 6 | All versions | 1.12.2-8.6.1 |
dbus-1 SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | All versions | 1.12.2-8.6.1 |
dbus-1-x11 SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | All versions | 1.12.2-8.6.1 |
dbus-1 SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 1.12.2-8.6.1 |
dbus-1-x11 SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 1.12.2-8.6.1 |
dbus-1 SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 1.12.2-3.11.1 |
dbus-1-x11 SUSE:Linux Enterprise High Performance Computing 15-ESPOS | All versions | 1.12.2-3.11.1 |
dbus-1 SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 1.12.2-3.11.1 |
dbus-1-x11 SUSE:Linux Enterprise High Performance Computing 15-LTSS | All versions | 1.12.2-3.11.1 |
dbus-1 SUSE:Linux Enterprise Micro 5.0 | All versions | 1.12.2-8.6.1 |
dbus-1 SUSE:Linux Enterprise Module for Basesystem 15 SP2 | All versions | 1.12.2-8.6.1 |
dbus-1-x11 SUSE:Linux Enterprise Module for Basesystem 15 SP2 | All versions | 1.12.2-8.6.1 |
dbus-1 SUSE:Linux Enterprise Module for Basesystem 15 SP3 | All versions | 1.12.2-8.6.1 |
dbus-1-x11 SUSE:Linux Enterprise Module for Basesystem 15 SP3 | All versions | 1.12.2-8.6.1 |
dbus-1 SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 1.8.22-24.22.1 |
dbus-1-x11 SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 1.8.22-24.22.1 |
dbus-1 SUSE:Linux Enterprise Server 15 SP1-BCL | All versions | 1.12.2-8.6.1 |
dbus-1-x11 SUSE:Linux Enterprise Server 15 SP1-BCL | All versions | 1.12.2-8.6.1 |
dbus-1 SUSE:Linux Enterprise Server 15 SP1-LTSS | All versions | 1.12.2-8.6.1 |
dbus-1-x11 SUSE:Linux Enterprise Server 15 SP1-LTSS | All versions | 1.12.2-8.6.1 |
dbus-1 SUSE:Linux Enterprise Server 15-LTSS | All versions | 1.12.2-3.11.1 |
dbus-1-x11 SUSE:Linux Enterprise Server 15-LTSS | All versions | 1.12.2-3.11.1 |
dbus-1 SUSE:Linux Enterprise Server for SAP Applications 15 | All versions | 1.12.2-3.11.1 |
dbus-1-x11 SUSE:Linux Enterprise Server for SAP Applications 15 | All versions | 1.12.2-3.11.1 |
dbus-1 SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | All versions | 1.12.2-8.6.1 |
dbus-1-x11 SUSE:Linux Enterprise Server for SAP Applications 15 SP1 | All versions | 1.12.2-8.6.1 |
dbus-1 SUSE:Manager Proxy 4.0 | All versions | 1.12.2-8.6.1 |
dbus-1-x11 SUSE:Manager Proxy 4.0 | All versions | 1.12.2-8.6.1 |
dbus-1 SUSE:Manager Retail Branch Server 4.0 | All versions | 1.12.2-8.6.1 |
dbus-1-x11 SUSE:Manager Retail Branch Server 4.0 | All versions | 1.12.2-8.6.1 |
dbus-1 SUSE:Manager Server 4.0 | All versions | 1.12.2-8.6.1 |
dbus-1-x11 SUSE:Manager Server 4.0 | All versions | 1.12.2-8.6.1 |
dbus-1 openSUSE:Leap 15.2 | All versions | 1.12.2-lp152.6.3.1 |
dbus-1-x11 openSUSE:Leap 15.2 | All versions | 1.12.2-lp152.6.3.1 |
dbus-1 openSUSE:Leap 15.3 | All versions | 1.12.2-8.6.1 |
dbus-1-x11 openSUSE:Leap 15.3 | All versions | 1.12.2-8.6.1 |
Products include Freedesktop Dbus.
How do I fix CVE-2020-35512?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2020-35512 being exploited?
There is no known exploitation of CVE-2020-35512 in the wild and no public exploit code.
Other vulnerabilities in D-Bus Development branch
Sources
Also known as DEBIAN-CVE-2020-35512, GHSA-f5qm-fxvw-fwjg, OESA-2021-1101, SUSE-SU-2021:2211-1, SUSE-SU-2021:2292-1, SUSE-SU-2022:2788-1 and 5 more.