CVE Vulnerabilities

CVE-2018-14424

Use After Free

Published: Aug 14, 2018 | Modified: Nov 21, 2024
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.0/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.3 MODERATE
CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

The daemon in GDM through 3.29.1 does not properly unexport display objects from its D-Bus interface when they are destroyed, which allows a local attacker to trigger a use-after-free via a specially crafted sequence of D-Bus method calls, resulting in a denial of service or potential code execution.

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
Gnome_display_managerGnome*3.29.1 (including)
Gdm3Ubuntubionic*
Gdm3Ubuntucosmic*
Gdm3Ubuntudevel*
Gdm3Ubuntudisco*
Gdm3Ubuntueoan*
Gdm3Ubuntuesm-apps/xenial*
Gdm3Ubuntuesm-infra/bionic*
Gdm3Ubuntuesm-infra/focal*
Gdm3Ubuntufocal*
Gdm3Ubuntugroovy*
Gdm3Ubuntuhirsute*
Gdm3Ubuntuimpish*
Gdm3Ubuntujammy*
Gdm3Ubuntukinetic*
Gdm3Ubuntulunar*
Gdm3Ubuntumantic*
Gdm3Ubuntunoble*
Gdm3Ubuntuoracular*
Gdm3Ubuntuplucky*
Gdm3Ubuntuquesting*
Gdm3Ubuntuupstream*
Gdm3Ubuntuxenial*

Potential Mitigations

References