{"schemaVersion":3,"id":"CVE-2017-20002","aliases":["UBUNTU-CVE-2017-20002","DEBIAN-CVE-2017-20002"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-03-17T06:00:09.000Z","modified":"2024-08-05T21:45:24.409Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.6,"severity":"medium","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.00404,"percentile":0.33136,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.00404},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00404,"percentile":0.33136}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00404,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00404,"percentile":0.33136}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_4FAC65D0E1091043","name":"Exploit Reference (bugs.debian.org)","source":"reference","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914957","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-269","name":"Improper Privilege Management","description":"The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/269.html"}],"affected":[{"vendor":"debian","product":"shadow","name":"shadow","label":"shadow","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/shadow","purlType":"deb","versions":[{"text":"< 1:4.5-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:4.5-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"shadow","name":"shadow","label":"shadow","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/shadow","purlType":"deb","versions":[{"text":"< 1:4.2-3.1ubuntu5.4","noFixRecorded":false,"fixedIn":null},{"text":"< 1:4.5-1ubuntu2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:4.2-3.1ubuntu5.4 | < 1:4.5-1ubuntu2","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"debian","product":"shadow","name":"shadow","label":"shadow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.4","eol":null,"hubHref":"/vendor/debian/shadow"}],"affectedCount":4,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877374","label":"bugs.debian.org/cgi-bin/bugreport.cgi?bug=877374","hostname":"bugs.debian.org","tags":["X Refsource MISC","Mailing List","Vendor Advisory","REPORT"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914957","label":"bugs.debian.org/cgi-bin/bugreport.cgi?bug=914957","hostname":"bugs.debian.org","tags":["X Refsource MISC","Exploit","Mailing List","Vendor Advisory","REPORT"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00020.html","label":"lists.debian.org/debian-lts-announce/2021/03/msg00020.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Vendor Advisory","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2017-20002","label":"ubuntu.com/security/CVE-2017-20002","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-20002","label":"www.cve.org/CVERecord?id=CVE-2017-20002","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-20002","label":"security-tracker.debian.org/tracker/CVE-2017-20002","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2596-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-03-17T06:00:09.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T21:45:24.409Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T02:52:45.992Z","stale":false,"partial":false}}