Advisory

DEBIAN-CVE-2019-19882

Also known as: CVE-2019-19882

Summary

The record has no summary.

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

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2019-12-18 16:15 UTC
Modified
2026-09-21 07:03 UTC

Affected packages and fixes

shadow

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 1:4.8.1-1 (ecosystem)

Fixed versions

1:4.8.1-1

Fix

  • Fixed version 1:4.8.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

shadow

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1:4.8.1-1 (ecosystem)

Fixed versions

1:4.8.1-1

Fix

  • Fixed version 1:4.8.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

shadow

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1:4.8.1-1 (ecosystem)

Fixed versions

1:4.8.1-1

Fix

  • Fixed version 1:4.8.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences