CVE-2017-20002
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | shadow | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | shadow | Not affected vulnerable_code_not_present | ||
| Debian 14 | shadow | Fixed | 1:4.5-1 | DEBIAN-CVE-2017-20002 |
| Debian 13 | shadow | Fixed | 1:4.5-1 | DEBIAN-CVE-2017-20002 |
| Debian 12 | shadow | Fixed | 1:4.5-1 | DEBIAN-CVE-2017-20002 |
References
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877374
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914957
- https://lists.debian.org/debian-lts-announce/2021/03/msg00020.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.