CVE catalog

CVE-2019-19882

shadow: CVE-2019-19882

[CVE catalog]

Severity
Low
Published
Source
[NVD] · [CVE record]
EPSS
0.52% · Oct 25, 2026

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

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.8.1-1unimportantNot reportedNot reported
Debianshadowsourceforky1:4.8.1-1unimportantNot reportedNot reported
Debianshadowsourcetrixie1:4.8.1-1unimportantNot reportedNot reported
Debianshadowsourcebookworm1:4.8.1-1unimportantNot reportedNot reported

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

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

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

      Fixed · Fixed: 1:4.8.1-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.8.1-1

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

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

      Fixed · Fixed: 1:4.8.1-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.8.1-1

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

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

      Fixed · Fixed: 1:4.8.1-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.8.1-1

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

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

      Fixed · Fixed: 1:4.8.1-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.8.1-1

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

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

      Fixed · Fixed: 1:4.8.1-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.8.1-1

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · arm64 · trixie

      Fixed · Fixed: 1:4.8.1-1

      dsa · shadow · debian · 13

  • Source package: [shadow]

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

      Fixed · Fixed: 1:4.8.1-1

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · arm64 · trixie

      Fixed · Fixed: 1:4.8.1-1

      dsa · shadow · debian · 13

  • [login.defs]Fixed

    Source package: [shadow]

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

      Fixed · Fixed: 1:4.8.1-1

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · all · trixie

      Fixed · Fixed: 1:4.8.1-1

      dsa · shadow · debian · 13

  • [passwd]Fixed

    Source package: [shadow]

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

      Fixed · Fixed: 1:4.8.1-1

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · arm64 · trixie

      Fixed · Fixed: 1:4.8.1-1

      dsa · shadow · debian · 13

  • [uidmap]Fixed

    Source package: [shadow]

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

      Fixed · Fixed: 1:4.8.1-1

      dsa · shadow · debian · 13

    • 1:4.17.4-2 · arm64 · trixie

      Fixed · Fixed: 1:4.8.1-1

      dsa · shadow · debian · 13

Observed:

References