Use After Free Affecting d-bus package, versions [,1.10.32)[1.12.0, 1.12.20)[1.13.0, 1.13.18)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-DBUS-2371882
  • published26 Jan 2022
  • disclosed15 Feb 2021
  • creditUnknown

Introduced: 15 Feb 2021

CVE-2020-35512  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade d-bus to version 1.10.32, 1.12.20, 1.13.18 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. 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

References

CVSS Scores

version 3.1