
CVE catalog
CVE-2017-20002
shadow: CVE-2017-20002
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | shadow | sid | 1:4.20.3-1 | fixed |
| Debian | shadow | forky | 1:4.20.3-1 | fixed |
| Debian | shadow | trixie | 1:4.17.4-2 | fixed |
| Debian | shadow | bookworm | 1:4.13+dfsg1-1+deb12u2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | shadow | source | sid | 1:4.5-1 | not yet assigned | Not reported | [914957] |
| Debian | shadow | source | forky | 1:4.5-1 | not yet assigned | Not reported | [914957] |
| Debian | shadow | source | trixie | 1:4.5-1 | not yet assigned | Not reported | [914957] |
| Debian | shadow | source | bookworm | 1:4.5-1 | not yet assigned | Not reported | [914957] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libsubid4]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.5-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.5-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
- [libsubid-dev]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.5-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.5-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
- [login]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.5-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.5-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
- [passwd]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.5-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.5-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
- [uidmap]Fixed
Source package: [shadow]
Details (2)
1:4.13+dfsg1-1+deb12u2· amd64 · bookwormFixed · Fixed:
1:4.5-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
1:4.13+dfsg1-1+deb12u2· arm64 · bookwormFixed · Fixed:
1:4.5-1dsa · shadow · debian · bookworm; dsa · shadow · debian · 12
[Debian 13 (Trixie)]
- [libsubid5]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· amd64 · trixieFixed · Fixed:
1:4.5-1dsa · shadow · debian · 13
1:4.17.4-2· arm64 · trixieFixed · Fixed:
1:4.5-1dsa · shadow · debian · 13
- [libsubid-dev]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· amd64 · trixieFixed · Fixed:
1:4.5-1dsa · shadow · debian · 13
1:4.17.4-2· arm64 · trixieFixed · Fixed:
1:4.5-1dsa · shadow · debian · 13
- [login.defs]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· all · trixieFixed · Fixed:
1:4.5-1dsa · shadow · debian · 13
1:4.17.4-2· all · trixieFixed · Fixed:
1:4.5-1dsa · shadow · debian · 13
- [passwd]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· amd64 · trixieFixed · Fixed:
1:4.5-1dsa · shadow · debian · 13
1:4.17.4-2· arm64 · trixieFixed · Fixed:
1:4.5-1dsa · shadow · debian · 13
- [uidmap]Fixed
Source package: [shadow]
Details (2)
1:4.17.4-2· amd64 · trixieFixed · Fixed:
1:4.5-1dsa · shadow · debian · 13
1:4.17.4-2· arm64 · trixieFixed · Fixed:
1:4.5-1dsa · shadow · debian · 13
Observed: