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

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

Name Vendor Start Version End Version
Systemd Systemd_project * 244 (including)
Red Hat Enterprise Linux 8 RedHat systemd-0:239-18.el8_1.4 *
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions RedHat systemd-0:239-13.el8_0.7 *
Systemd Ubuntu bionic *
Systemd Ubuntu devel *
Systemd Ubuntu eoan *
Systemd Ubuntu esm-infra-legacy/trusty *
Systemd Ubuntu esm-infra/bionic *
Systemd Ubuntu esm-infra/focal *
Systemd Ubuntu esm-infra/xenial *
Systemd Ubuntu focal *
Systemd Ubuntu groovy *
Systemd Ubuntu hirsute *
Systemd Ubuntu impish *
Systemd Ubuntu jammy *
Systemd Ubuntu kinetic *
Systemd Ubuntu lunar *
Systemd Ubuntu mantic *
Systemd Ubuntu noble *
Systemd Ubuntu oracular *
Systemd Ubuntu plucky *
Systemd Ubuntu trusty *
Systemd Ubuntu trusty/esm *
Systemd Ubuntu xenial *

Potential Mitigations

References