UBUNTU-CVE-2019-19882

Source
https://ubuntu.com/security/CVE-2019-19882
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-19882.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2019-19882
Upstream
Published
2019-12-18T16:15:00Z
Modified
2025-07-16T08:24:00.446872Z
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
  • Ubuntu - medium
Summary
[none]
Details

shadow 4.8, in certain circumstances affecting at least Gentoo, Arch Linux, and Void Linux, allows local users to obtain root access because setuid programs are misconfigured. Specifically, this affects shadow 4.8 when compiled using --with-libpam but without explicitly passing --disable-account-tools-setuid, and without a PAM configuration suitable for use with setuid account management tools. This combination leads to account management tools (groupadd, groupdel, groupmod, useradd, userdel, usermod) that can easily be used by unprivileged local users to escalate privileges to root in multiple ways. This issue became much more relevant in approximately December 2019 when an unrelated bug was fixed (i.e., the chmod calls to suidusbins were fixed in the upstream Makefile which is now included in the release version 4.8).

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",
    "binaries": [
        {
            "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",
            "binary_version": "1:4.2-3.1ubuntu5.4"
        }
    ]
}

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",
    "binaries": [
        {
            "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",
            "binary_version": "1:4.5-1ubuntu2"
        }
    ]
}