CVE catalog

CVE-2017-20002

shadow: CVE-2017-20002

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianshadowsid1:4.20.3-1fixed
Debianshadowforky1:4.20.3-1fixed
Debianshadowtrixie1:4.17.4-2fixed
Debianshadowbookworm1:4.13+dfsg1-1+deb12u2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianshadowsourcesid1:4.5-1not yet assignedNot reported[914957]
Debianshadowsourceforky1:4.5-1not yet assignedNot reported[914957]
Debianshadowsourcetrixie1:4.5-1not yet assignedNot reported[914957]
Debianshadowsourcebookworm1:4.5-1not yet assignedNot reported[914957]

[Debian bug #914957]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libsubid4]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

  • Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

  • [login]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

  • [passwd]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

  • [uidmap]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.13+dfsg1-1+deb12u2 · amd64 · bookworm

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

    • 1:4.13+dfsg1-1+deb12u2 · arm64 · bookworm

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · bookworm; dsa · shadow · debian · 12

[Debian 13 (Trixie)]

  • [libsubid5]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.17.4-2 · amd64 · trixie

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · arm64 · trixie

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · 13

  • Source package: [shadow]

    Details (2)
    • 1:4.17.4-2 · amd64 · trixie

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · arm64 · trixie

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · 13

  • [login.defs]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.17.4-2 · all · trixie

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · all · trixie

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · 13

  • [passwd]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.17.4-2 · amd64 · trixie

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · arm64 · trixie

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · 13

  • [uidmap]Fixed

    Source package: [shadow]

    Details (2)
    • 1:4.17.4-2 · amd64 · trixie

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · arm64 · trixie

      Fixed · Fixed: 1:4.5-1

      dsa · shadow · debian · 13

Observed:

References