CVE-2017-20002

NameCVE-2017-20002
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2596-1
Debian Bugs914957

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
shadow (PTS)jessie, jessie (lts)1:4.2-3+deb8u5fixed
stretch (security)1:4.4-4.1+deb9u1fixed
stretch (lts), stretch1:4.4-4.1+deb9u2fixed
buster, buster (lts)1:4.5-1.1+deb10u1fixed
bullseye1:4.8.1-1fixed
bookworm1:4.13+dfsg1-1fixed
sid, trixie1:4.16.0-7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
shadowsourcejessie(not affected)
shadowsourcestretch1:4.4-4.1+deb9u1DLA-2596-1
shadowsource(unstable)1:4.5-1914957

Notes

Introduced in attempt to address #830255 in 1:4.4-2
[jessie] - shadow <not-affected> (Vulnerable configuration introduced in 1:4.4-2)

Search for package or bug name: Reporting problems