Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-19882

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-19882
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:39 UTC · Revision 1

Source evidence

CVE-2019-19882

core-osv · Original source

Published 18 Dec 2019, 16:15 UTC

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

osv:CVE-2019-19882
Complete source record
{
  "id": "d1b778cad073ec1a1e905745518b7a32201ff1bcfd834c5f8fc2793ac9d36ea7",
  "url": "https://osv.dev/vulnerability/CVE-2019-19882",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-19882",
    "summary": "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).",
    "evidence": "osv:CVE-2019-19882",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-19882",
      "aliases": [
        "CVE-2019-19882"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/shadow-maint/shadow",
              "type": "GIT",
              "events": [
                {
                  "introduced": "81de782d1e2a2a00e9fb6620f678503c65a4cbe9"
                },
                {
                  "last_affected": "81de782d1e2a2a00e9fb6620f678503c65a4cbe9"
                },
                {
                  "fixed": "edf7547ad5aa650be868cf2dac58944773c12d75"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:shadow_project:shadow:4.8:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.8"
                      },
                      {
                        "last_affected": "4.8"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "edf7547ad5aa650be868cf2dac58944773c12d75"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-19882.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:52.220131460Z",
      "provider": "osv",
      "references": [
        "https://security.gentoo.org/glsa/202008-09",
        "https://github.com/shadow-maint/shadow/commit/edf7547ad5aa650be868cf2dac58944773c12d75",
        "https://github.com/shadow-maint/shadow/pull/199",
        "https://github.com/void-linux/void-packages/pull/17580",
        "https://bugs.archlinux.org/task/64836",
        "https://bugs.gentoo.org/702252"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-19882",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382278,
  "published_at": "2019-12-18T16:15:26.963+00:00"
}