Red Hat Security Advisory: sudo security update
🔗 CVE IDs covered (1)
📋 Description
CVE-2019-14287 — sudo: Privilege escalation via 'Runas' specification with 'ALL' keyword
🎯 Affected products54
- Red Hat Enterprise Linux Desktop (v. 6)
- Red Hat Enterprise Linux Desktop Optional (v. 6)
- Red Hat Enterprise Linux HPC Node (v. 6)
- Red Hat Enterprise Linux HPC Node Optional (v. 6)
- Red Hat Enterprise Linux Server (v. 6)
- Red Hat Enterprise Linux Server Optional (v. 6)
- Red Hat Enterprise Linux Workstation (v. 6)
- Red Hat Enterprise Linux Workstation Optional (v. 6)
- sudo-0:1.8.6p3-29.el6_10.2.i686 as a component of Red Hat Enterprise Linux Desktop (v. 6)
- sudo-0:1.8.6p3-29.el6_10.2.i686 as a component of Red Hat Enterprise Linux Server (v. 6)
- sudo-0:1.8.6p3-29.el6_10.2.i686 as a component of Red Hat Enterprise Linux Workstation (v. 6)
- sudo-0:1.8.6p3-29.el6_10.2.ppc64 as a component of Red Hat Enterprise Linux Server (v. 6)
- sudo-0:1.8.6p3-29.el6_10.2.s390x as a component of Red Hat Enterprise Linux Server (v. 6)
- sudo-0:1.8.6p3-29.el6_10.2.src as a component of Red Hat Enterprise Linux Desktop (v. 6)
- sudo-0:1.8.6p3-29.el6_10.2.src as a component of Red Hat Enterprise Linux HPC Node (v. 6)
- sudo-0:1.8.6p3-29.el6_10.2.src as a component of Red Hat Enterprise Linux Server (v. 6)
- sudo-0:1.8.6p3-29.el6_10.2.src as a component of Red Hat Enterprise Linux Workstation (v. 6)
- sudo-0:1.8.6p3-29.el6_10.2.x86_64 as a component of Red Hat Enterprise Linux Desktop (v. 6)
- sudo-0:1.8.6p3-29.el6_10.2.x86_64 as a component of Red Hat Enterprise Linux HPC Node (v. 6)
- sudo-0:1.8.6p3-29.el6_10.2.x86_64 as a component of Red Hat Enterprise Linux Server (v. 6)
- sudo-0:1.8.6p3-29.el6_10.2.x86_64 as a component of Red Hat Enterprise Linux Workstation (v. 6)
- sudo-debuginfo-0:1.8.6p3-29.el6_10.2.i686 as a component of Red Hat Enterprise Linux Desktop (v. 6)
- sudo-debuginfo-0:1.8.6p3-29.el6_10.2.i686 as a component of Red Hat Enterprise Linux Desktop Optional (v. 6)
- sudo-debuginfo-0:1.8.6p3-29.el6_10.2.i686 as a component of Red Hat Enterprise Linux HPC Node Optional (v. 6)
- sudo-debuginfo-0:1.8.6p3-29.el6_10.2.i686 as a component of Red Hat Enterprise Linux Server (v. 6)
- sudo-debuginfo-0:1.8.6p3-29.el6_10.2.i686 as a component of Red Hat Enterprise Linux Server Optional (v. 6)
- sudo-debuginfo-0:1.8.6p3-29.el6_10.2.i686 as a component of Red Hat Enterprise Linux Workstation (v. 6)
- sudo-debuginfo-0:1.8.6p3-29.el6_10.2.i686 as a component of Red Hat Enterprise Linux Workstation Optional (v. 6)
- sudo-debuginfo-0:1.8.6p3-29.el6_10.2.ppc as a component of Red Hat Enterprise Linux Server Optional (v. 6)
- sudo-debuginfo-0:1.8.6p3-29.el6_10.2.ppc64 as a component of Red Hat Enterprise Linux Server (v. 6)
- +24 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: This vulnerability only affects configurations of sudo that have a runas user list that includes an exclusion of root. The most simple example is: ~~~ someuser ALL=(ALL, !root) /usr/bin/somecommand ~~~ The exclusion is specified using an excalamation mark (!). In this example, the "root" user is specified by name. The root user may also be identified in other ways, such as by user id: ~~~ someuser ALL=(ALL, !#0) /usr/bin/somecommand ~~~ or by reference to a runas alias: ~~~ Runas_Alias MYGROUP = root, adminuser someuser ALL=(ALL, !MYGROUP) /usr/bin/somecommand ~~~ To ensure your sudoers configuration is not affected by this vulnerability, we recommend examining each sudoers entry that includes the `!` character in the runas specification, to ensure that the root user is not among the exclusions. These can be found in the /etc/sudoers file or files under /etc/sudoers.d.