UBUNTU-CVE-2017-20002

Source
https://ubuntu.com/security/CVE-2017-20002
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-20002.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2017-20002
Related
Published
2021-03-17T06:15:00Z
Modified
2025-01-13T10:21:31Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:16.04:LTS / shadow

Package

Name
shadow
Purl
pkg:deb/ubuntu/shadow@1:4.2-3.1ubuntu5.4?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.2-3.1ubuntu5.4

Affected versions

1:4.*

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

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:4.2-3.1ubuntu5.4",
            "binary_name": "login"
        },
        {
            "binary_version": "1:4.2-3.1ubuntu5.4",
            "binary_name": "login-dbgsym"
        },
        {
            "binary_version": "1:4.2-3.1ubuntu5.4",
            "binary_name": "passwd"
        },
        {
            "binary_version": "1:4.2-3.1ubuntu5.4",
            "binary_name": "passwd-dbgsym"
        },
        {
            "binary_version": "1:4.2-3.1ubuntu5.4",
            "binary_name": "uidmap"
        },
        {
            "binary_version": "1:4.2-3.1ubuntu5.4",
            "binary_name": "uidmap-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / shadow

Package

Name
shadow
Purl
pkg:deb/ubuntu/shadow@1:4.5-1ubuntu2?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:4.5-1ubuntu2

Affected versions

1:4.*

1:4.2-3.2ubuntu4
1:4.5-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:4.5-1ubuntu2",
            "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_name": "uidmap"
        },
        {
            "binary_version": "1:4.5-1ubuntu2",
            "binary_name": "uidmap-dbgsym"
        }
    ]
}