{"id":"UBUNTU-CVE-2017-20002","details":"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.","modified":"2025-07-16T07:36:32.632045Z","published":"2021-03-17T06:15:00Z","withdrawn":"2025-07-18T16:44:19Z","upstream":["CVE-2017-20002"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-20002"},{"type":"REPORT","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877374"},{"type":"REPORT","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914957"},{"type":"REPORT","url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00020.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-20002"}],"affected":[{"package":{"name":"shadow","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/shadow@1:4.2-3.1ubuntu5.4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.2-3.1ubuntu5.4"}]}],"versions":["1:4.1.5.1-1.1ubuntu7","1:4.2-3.1ubuntu1","1:4.2-3.1ubuntu2","1:4.2-3.1ubuntu3","1:4.2-3.1ubuntu4","1:4.2-3.1ubuntu5","1:4.2-3.1ubuntu5.2","1:4.2-3.1ubuntu5.3"],"ecosystem_specific":{"binaries":[{"binary_name":"login","binary_version":"1:4.2-3.1ubuntu5.4"},{"binary_version":"1:4.2-3.1ubuntu5.4","binary_name":"login-dbgsym"},{"binary_name":"passwd","binary_version":"1:4.2-3.1ubuntu5.4"},{"binary_version":"1:4.2-3.1ubuntu5.4","binary_name":"passwd-dbgsym"},{"binary_name":"uidmap","binary_version":"1:4.2-3.1ubuntu5.4"},{"binary_name":"uidmap-dbgsym","binary_version":"1:4.2-3.1ubuntu5.4"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20002.json"}},{"package":{"name":"shadow","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/shadow@1:4.5-1ubuntu2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:4.5-1ubuntu2"}]}],"versions":["1:4.2-3.2ubuntu4","1:4.5-1ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"login","binary_version":"1:4.5-1ubuntu2"},{"binary_name":"login-dbgsym","binary_version":"1:4.5-1ubuntu2"},{"binary_name":"passwd","binary_version":"1:4.5-1ubuntu2"},{"binary_name":"passwd-dbgsym","binary_version":"1:4.5-1ubuntu2"},{"binary_version":"1:4.5-1ubuntu2","binary_name":"uidmap"},{"binary_name":"uidmap-dbgsym","binary_version":"1:4.5-1ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20002.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}