Skip to content
OpenAdvisories
Unscored CVE-2019-19232 EUVD-2019-8858GHSA-g292-5fg6-fchh

In Sudo through 1.8.29, an attacker with access to a Runas ALL sudoer account can impersonate a nonexistent user by invoking sudo with a nu…

Published Dec 19, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

In Sudo through 1.8.29, an attacker with access to a Runas ALL sudoer account can impersonate a nonexistent user by invoking sudo with a numeric uid that is not associated with any user. NOTE: The software maintainer believes that this is not a vulnerability because running a command via sudo as a user not present in the local password database is an intentional feature. Because this behavior surprised some users, sudo 1.8.30 introduced an option to enable/disable this behavior with the default being disabled. However, this does not change the fact that sudo was behaving as intended, and as documented, in earlier versions

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sudo 1.8.31-1 —
Debian 13 sudo 1.8.31-1 —
Debian 12 sudo 1.8.31-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS sudo 1.8.31-1ubuntu1 —
ReleasePackageFixed inAdvisory
RHEL 8 sudo 1.8.29-5.el8 RHSA-2020:1804

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 sudo 1.8.29-5.el8 ELSA-2020-1804

Advisories 3

References