BreachSpiderVerified, not vibes

CVE-2017-20002 in Debian Linux and 1 more product

High 7.8

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...

Affects 2 products from 1 vendor. Facts below cite their sources.

CVSS 3.17.8
EPSS0.4%
EPSS percentile26th
FixSee advisory

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 9.0
Debian Shadow 4.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2017-20002
BreachSpider IDBS-2021-GLOBAL-118429-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2021-03-17
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-269: Improper Privilege Management

Software does not properly assign, modify, track, or check privileges, allowing unauthorized elevation of access.

Related attack patterns (CAPEC)

CAPEC-58 Restful Privilege Elevation via CWE-269

CAPEC-122 Privilege Abuse via CWE-269

CAPEC-233 Privilege Escalation via CWE-269

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

The Debian shadow package before version 1:4.5-1 incorrectly lists pts/0 and pts/1 as physical terminals in /etc/securetty, allowing local users to log in as password-less users even if they are connected via non-physical means such as SSH, bypassing PAM's nullok_secure configuration.

An attacker with local access or SSH access to a vulnerable system can exploit this issue to log in as a user with a blank password, bypassing the security measure that normally prevents such logins over non-physical terminals.

Questions

What is CVE-2017-20002?

The Debian shadow package before version 1:4.5-1 incorrectly lists pts/0 and pts/1 as physical terminals in /etc/securetty, allowing local users to log in as password-less users even if they are connected via non-physical means such as SSH, bypassing PAM's nullok_secure configuration.

What is the CVSS score for CVE-2017-20002?

CVE-2017-20002 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.

Is CVE-2017-20002 actively exploited?

No confirmed active exploitation of CVE-2017-20002 as of 2026-09-25.

How do I remediate CVE-2017-20002?

Priority: HIGH. Advisory: https://lists.debian.org/debian-lts-announce/2021/03/msg00020.html PSIRT: [email protected]

What systems are affected by CVE-2017-20002?

CVE-2017-20002 affects Debian Debian Linux, Shadow.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.