CVE-2017-12164
GNOME gdm: DEPRECATED: Authentication Bypass Issues
Description
A flaw was discovered in gdm 3.24.1 where gdm greeter was no longer setting the ran_once boolean during autologin. If autologin was enabled for a victim, an attacker could simply select 'login as another user' to unlock their screen.
Severity (CVSS)
CVSS:3.0/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- Attack vector
- physical: the attacker has to touch the device
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.38%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 24.3% of all scored CVEs. Scores of 26 Nov 2026.
Weakness
- CWE-592 DEPRECATED: Authentication Bypass Issues
Affected products
As the CNA lists them.
Is my server affected?
Find the installed version of gdm and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i gdm
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2017-12164 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2017-12164RHEL, Rocky, Alma, Fedora
rpm -q gdm
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2017-12164Alpine
apk list --installed | grep -i gdmWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2017-12164
trivy image --scanners vuln IMAGE | grep CVE-2017-12164
PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.
References
Advisories
- https://gitlab.gnome.org/GNOME/gdm/commit/ff98b28 gitlab.gnome.org
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-12164 bugzilla.redhat.com
Source: the record CVE-2017-12164 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.