CVE Vulnerabilities

CVE-2020-1712

Use After Free

Published: Mar 31, 2020 | Modified: Nov 21, 2024
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
4.6 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
7.8 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A heap use-after-free vulnerability was found in systemd before version v245-rc1, where asynchronous Polkit queries are performed while handling dbus messages. A local unprivileged attacker can abuse this flaw to crash systemd services or potentially execute code and elevate their privileges, by sending specially crafted dbus messages.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
SystemdSystemd_project*244 (including)
Red Hat Enterprise Linux 8RedHatsystemd-0:239-18.el8_1.4*
Red Hat Enterprise Linux 8.0 Update Services for SAP SolutionsRedHatsystemd-0:239-13.el8_0.7*
SystemdUbuntubionic*
SystemdUbuntudevel*
SystemdUbuntueoan*
SystemdUbuntuesm-infra-legacy/trusty*
SystemdUbuntuesm-infra/bionic*
SystemdUbuntuesm-infra/focal*
SystemdUbuntuesm-infra/xenial*
SystemdUbuntufocal*
SystemdUbuntugroovy*
SystemdUbuntuhirsute*
SystemdUbuntuimpish*
SystemdUbuntujammy*
SystemdUbuntukinetic*
SystemdUbuntulunar*
SystemdUbuntumantic*
SystemdUbuntunoble*
SystemdUbuntuoracular*
SystemdUbuntuplucky*
SystemdUbuntuquesting*
SystemdUbuntutrusty*
SystemdUbuntutrusty/esm*
SystemdUbuntuxenial*

Potential Mitigations

References