Use-after-free in D-Bus - CVE-2020-35512

 

Use-after-free in D-Bus - CVE-2020-35512

Published: May 9, 2022


Vulnerability identifier: #VU62883
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2020-35512
CWE-ID: CWE-416
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Freedesktop.org
Affected software:
D-Bus

Detailed vulnerability description

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

The vulnerability exists due to a use-after-free error if two usernames have the same numeric 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, which can result in crash.


How to mitigate CVE-2020-35512

Install updates from vendor's website.

Sources