CVEfocus › CVE database › CVE-2017-20002

CVE-2017-20002

CVSS 7.8 HighEPSS 0.4% (higher than 35% of CVEs)Published 2021-03-17Updated 2024-08-05Assigner: mitre

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

3Fixed
2Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04shadowNot affected
vulnerable_code_not_present
Ubuntu 16.04shadowNot affected
vulnerable_code_not_present
Debian 14shadowFixed1:4.5-1DEBIAN-CVE-2017-20002
Debian 13shadowFixed1:4.5-1DEBIAN-CVE-2017-20002
Debian 12shadowFixed1:4.5-1DEBIAN-CVE-2017-20002

References

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.