Skip to content
OpenAdvisories
Unscored Public exploit CVE-2019-14287 EUVD-2019-5514GHSA-33h3-qhjg-4qmf

In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, …

Published Oct 17, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer account can bypass certain policy blacklists and session PAM modules, and can cause incorrect logging, by invoking sudo with a crafted user ID. For example, this allows bypass of !root configuration, and USER= logging, for a "sudo -u \#$((0xffffffff))" command.

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.27-1.1 —
Debian 13 sudo 1.8.27-1.1 —
Debian 12 sudo 1.8.27-1.1 —
Debian 10 sudo 1.8.27-1+deb10u1 DSA-4543-1
Debian 9 sudo 1.8.19p1-2.1+deb9u1 DSA-4543-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 8 sudo 1.8.10p3-1+deb8u6 DLA-1964-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS sudo 1.8.21p2-3ubuntu1.1 USN-4154-1
Ubuntu 16.04 LTS sudo 1.8.16-0ubuntu1.8 USN-4154-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS sudo 1.8.9p5-1ubuntu1.5+esm2 USN-4154-1
ReleasePackageFixed inAdvisory
RHEL 8 sudo 1.8.25p1-8.el8_1 RHSA-2019:3694
RHEL 7 redhat-release-virtualization-host +2 4.2-15.1.el7 RHBA-2019:3248
RHEL 7 redhat-virtualization-host +1 4.2-20191022.0.el7_6 RHBA-2019:3248
RHEL 7 sudo +1 1.8.23-4.el7_7.1 RHSA-2019:3197
RHEL 6 sudo +1 1.8.6p3-29.el6_10.2 RHSA-2019:3755
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.0 E4S sudo 1.8.25p1-4.el8_0.2 RHSA-2020:0388
RHEL 7.6 EUS sudo +1 1.8.23-3.el7_6.1 RHSA-2019:3205
RHEL 7.5 EUS sudo +1 1.8.19p2-14.el7_5.1 RHSA-2019:3204
RHEL 7.4 TUS sudo +1 1.8.19p2-12.el7_4.1 RHSA-2019:3209
RHEL 7.4 E4S sudo +1 1.8.19p2-12.el7_4.1 RHSA-2019:3209
RHEL 7.4 AUS sudo +1 1.8.19p2-12.el7_4.1 RHSA-2019:3209
RHEL 7.3 TUS sudo +1 1.8.6p7-23.el7_3.2 RHSA-2019:3219
RHEL 7.3 E4S sudo +1 1.8.6p7-23.el7_3.2 RHSA-2019:3219
RHEL 7.3 AUS sudo +1 1.8.6p7-23.el7_3.2 RHSA-2019:3219
RHEL 7.2 TUS sudo +1 1.8.6p7-17.el7_2.2 RHSA-2019:3278
RHEL 7.2 E4S sudo +1 1.8.6p7-17.el7_2.2 RHSA-2019:3278
RHEL 7.2 AUS sudo +1 1.8.6p7-17.el7_2.2 RHSA-2019:3278
RHEL 6.6 AUS sudo +1 1.8.6p3-15.el6_6.2 RHSA-2019:3754
RHEL 6.5 AUS sudo +1 1.8.6p3-12.el6_5.2 RHSA-2019:3895
RHEL 5 ELS sudo 1.7.2p1-31.el5_11.1 RHSA-2019:4191
ReleasePackageFixed inAdvisory
SLES 15 SP1 sudo 1.8.22-4.6.1 SUSE-SU-2019:2656-1
SLES 15 sudo 1.8.22-4.6.1 SUSE-SU-2019:2656-1
SLES 12 SP4 sudo 1.8.20p2-3.14.1 SUSE-SU-2019:2666-1
SLES 12 SP3 sudo 1.8.20p2-3.14.1 SUSE-SU-2019:2666-1
SLES 12 SP2 sudo 1.8.10p3-10.23.1 SUSE-SU-2019:2667-1
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP1 sudo 1.8.10p3-2.28.1 SUSE-SU-2019:2668-1
SLES 11 SP4 sudo 1.7.6p2-0.30.5.1 SUSE-SU-2019:14193-1
SLES for SAP 12 SP4 sudo 1.8.20p2-3.14.1 SUSE-SU-2019:2666-1
SLES for SAP 12 SP3 sudo 1.8.20p2-3.14.1 SUSE-SU-2019:2666-1
SLES for SAP 12 SP2 sudo 1.8.10p3-10.23.1 SUSE-SU-2019:2667-1
SLES for SAP 12 SP1 sudo 1.8.10p3-2.28.1 SUSE-SU-2019:2668-1
SUSE OpenStack Cloud Crowbar 8 sudo 1.8.20p2-3.14.1 SUSE-SU-2019:2666-1
SUSE OpenStack Cloud 8 sudo 1.8.20p2-3.14.1 SUSE-SU-2019:2666-1
SUSE OpenStack Cloud 7 sudo 1.8.10p3-10.23.1 SUSE-SU-2019:2667-1
SUSE Linux Enterprise Point of Sale 11 SP3 sudo 1.7.6p2-0.30.5.1 SUSE-SU-2019:14193-1
SUSE HPE Helion OpenStack 8 sudo 1.8.20p2-3.14.1 SUSE-SU-2019:2666-1
SUSE Enterprise Storage 5 sudo 1.8.20p2-3.14.1 SUSE-SU-2019:2666-1
SUSE Enterprise Storage 4 sudo 1.8.10p3-10.23.1 SUSE-SU-2019:2667-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed sudo 1.9.7p2-1.4 openSUSE-SU-2024:11413-1
openSUSE Leap 15.1 sudo 1.8.22-lp151.5.3.1 openSUSE-SU-2019:2316-1
openSUSE Leap 15.0 sudo 1.8.22-lp150.8.1 openSUSE-SU-2019:2333-1
ReleasePackageFixed inAdvisory
Alpine v3.24 sudo 1.8.28-r0 —
Alpine v3.23 sudo 1.8.28-r0 —
Alpine v3.22 sudo 1.8.28-r0 —
Alpine v3.21 sudo 1.8.28-r0 —
Alpine v3.20 sudo 1.8.28-r0 —
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 sudo 1.8.28-r0 —
Alpine v3.18 sudo 1.8.28-r0 —
Alpine v3.17 sudo 1.8.28-r0 —
Alpine v3.16 sudo 1.8.28-r0 —
Alpine v3.15 sudo 1.8.28-r0 —
Alpine v3.14 sudo 1.8.28-r0 —
Alpine v3.13 sudo 1.8.28-r0 —
Alpine v3.12 sudo 1.8.28-r0 —
Alpine v3.11 sudo 1.8.28-r0 —
Alpine v3.10 sudo 1.8.27-r1 —
Alpine v3.9 sudo 1.8.25_p1-r3 —
Alpine v3.8 sudo 1.8.23-r3 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 sudo +1 1.8.23-4.amzn2.0.1 ALAS2-2019-1315

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 sudo 1.8.25p1-4.0.1.el8_0.1 ELSA-2019-4822, ELSA-2019-3694
Oracle Linux 7 sudo +1 1.8.23-4.0.1.el7 ELSA-2019-4821

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

GitHub 27 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 28

References