Name | CVE-2017-20002 |
Description | The Debian shadow package before 1:4.5-1 for Shadow incorrectly lists pts/0 and pts/1 as physical terminals in /etc/securetty. This allows local users to login as password-less users even if they are connected by non-physical means such as SSH (hence bypassing PAM's nullok_secure configuration). This notably affects environments such as virtual machines automatically generated with a default blank root password, allowing all local users to escalate privileges. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2596-1 |
Debian Bugs | 914957 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
shadow (PTS) | jessie, jessie (lts) | 1:4.2-3+deb8u5 | fixed |
| stretch (security) | 1:4.4-4.1+deb9u1 | fixed |
| stretch (lts), stretch | 1:4.4-4.1+deb9u2 | fixed |
| buster, buster (lts) | 1:4.5-1.1+deb10u1 | fixed |
| bullseye | 1:4.8.1-1 | fixed |
| bookworm | 1:4.13+dfsg1-1 | fixed |
| sid, trixie | 1:4.16.0-5 | fixed |
The information below is based on the following data on fixed versions.
Notes
Introduced in attempt to address #830255 in 1:4.4-2
[jessie] - shadow <not-affected> (Vulnerable configuration introduced in 1:4.4-2)