CVSS 3.1
8.8 highCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (8.8). EPSS 64% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExplain CVE-2019-14287 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-14287?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-14287?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-14287 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| sudo_project:sudo | before 1.8.28 |
| fedoraproject:fedora | 29 |
| fedoraproject:fedora | 30 |
| fedoraproject:fedora | 31 |
| debian:debian_linux | 8.0 |
| debian:debian_linux | 9.0 |
| debian:debian_linux | 10.0 |
| opensuse:leap | 15.0 |
| opensuse:leap | 15.1 |
| canonical:ubuntu_linux | 12.04 |
| canonical:ubuntu_linux | 14.04 |
| canonical:ubuntu_linux | 16.04 |
| canonical:ubuntu_linux | 18.04 |
| canonical:ubuntu_linux | 19.04 |
| redhat:openshift_container_platform | 4.1 |
| redhat:virtualization | 4.2 |
| redhat:enterprise_linux | 8.0 |
| redhat:enterprise_linux_desktop | 6.0 |
| redhat:enterprise_linux_desktop | 7.0 |
| redhat:enterprise_linux_eus | 7.5 |
| redhat:enterprise_linux_eus | 7.6 |
| redhat:enterprise_linux_eus | 7.7 |
| redhat:enterprise_linux_eus | 8.1 |
| redhat:enterprise_linux_eus | 8.2 |
| redhat:enterprise_linux_eus | 8.4 |
| redhat:enterprise_linux_server | 5.0 |
| redhat:enterprise_linux_server | 6.0 |
| redhat:enterprise_linux_server | 7.0 |
| redhat:enterprise_linux_server_aus | 6.5 |
| redhat:enterprise_linux_server_aus | 6.6 |
| redhat:enterprise_linux_server_aus | 7.2 |
| redhat:enterprise_linux_server_aus | 7.3 |
| redhat:enterprise_linux_server_aus | 7.4 |
| redhat:enterprise_linux_server_aus | 7.6 |
| redhat:enterprise_linux_server_aus | 7.7 |
| redhat:enterprise_linux_server_aus | 8.2 |
| redhat:enterprise_linux_server_aus | 8.4 |
| redhat:enterprise_linux_server_tus | 7.2 |
| redhat:enterprise_linux_server_tus | 7.3 |
| redhat:enterprise_linux_server_tus | 7.4 |
| redhat:enterprise_linux_server_tus | 7.6 |
| redhat:enterprise_linux_server_tus | 7.7 |
| redhat:enterprise_linux_server_tus | 8.2 |
| redhat:enterprise_linux_server_tus | 8.4 |
| redhat:enterprise_linux_workstation | 6.0 |
| redhat:enterprise_linux_workstation | 7.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 8 | sudo | 1.8.10p3-1+deb8u6 | DLA-1964-1 |
| Debian | 9 | sudo | 1.8.19p1-2.1+deb9u1 | DSA-4543-1 |
| Debian | 10 | sudo | 1.8.27-1+deb10u1 | DSA-4543-1 |
| Debian | 12, 13, 14 | sudo | 1.8.27-1.1 | DEBIAN-CVE-2019-14287 |
| Ubuntu | 16.04:LTS | sudo | 1.8.16-0ubuntu1.8 | UBUNTU-CVE-2019-14287 USN-4154-1 |
| Ubuntu | 18.04:LTS | sudo | 1.8.21p2-3ubuntu1.1 | UBUNTU-CVE-2019-14287 USN-4154-1 |
| Ubuntu | Pro:14.04:LTS | sudo | 1.8.9p5-1ubuntu1.5+esm2 | UBUNTU-CVE-2019-14287 USN-4154-1 |
| Red Hat | enterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 more | sudo, sudo-devel, sudo-debuginfo | 0:1.8.6p3-29.el6_10.2 | RHSA-2019:3755 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | sudo, sudo-devel, sudo-debuginfo | 0:1.8.23-4.el7_7.1 | RHSA-2019:3197 |
| Red Hat | enterprise_linux:7::hypervisor | redhat-release-virtualization-host, redhat-release-virtualization-host-content, redhat-virtualization-host-image-update-placeholder | 0:4.2-15.1.el7 | RHBA-2019:3248 |
| Red Hat | enterprise_linux:7::hypervisor | redhat-virtualization-host, redhat-virtualization-host-image-update | 0:4.2-20191022.0.el7_6 | RHBA-2019:3248 |
| Red Hat | enterprise_linux:8::baseos | sudo, sudo-debuginfo, sudo-debugsource | 0:1.8.25p1-8.el8_1 | RHSA-2019:3694 |
| Red Hat | rhel_aus:6.5::server | sudo, sudo-devel, sudo-debuginfo | 0:1.8.6p3-12.el6_5.2 | RHSA-2019:3895 |
| Red Hat | rhel_aus:6.6::server | sudo, sudo-devel, sudo-debuginfo | 0:1.8.6p3-15.el6_6.2 | RHSA-2019:3754 |
| Red Hat | rhel_aus:7.2::server, rhel_e4s:7.2::server, rhel_tus:7.2::server | sudo, sudo-devel, sudo-debuginfo | 0:1.8.6p7-17.el7_2.2 | RHSA-2019:3278 |
| Red Hat | rhel_aus:7.3::server, rhel_e4s:7.3::server, rhel_tus:7.3::server | sudo, sudo-devel, sudo-debuginfo | 0:1.8.6p7-23.el7_3.2 | RHSA-2019:3219 |
| Red Hat | rhel_aus:7.4::server, rhel_e4s:7.4::server, rhel_tus:7.4::server | sudo, sudo-devel, sudo-debuginfo | 0:1.8.19p2-12.el7_4.1 | RHSA-2019:3209 |
| Red Hat | rhel_e4s:8.0::baseos | sudo, sudo-debuginfo, sudo-debugsource | 0:1.8.25p1-4.el8_0.2 | RHSA-2020:0388 |
| Red Hat | rhel_els:5 | sudo, sudo-debuginfo | 0:1.7.2p1-31.el5_11.1 | RHSA-2019:4191 |
| 2 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 4, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP2-LTSS and 2 more | sudo | 1.8.10p3-10.23.1 | SUSE-SU-2019:2667-1 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Desktop 12 SP4 and 8 more | sudo | 1.8.20p2-3.14.1 | SUSE-SU-2019:2666-1 |
| SUSE | Linux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1 | sudo | 1.8.22-4.6.1 | SUSE-SU-2019:2656-1 |
| SUSE | Linux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSS | sudo | 1.7.6p2-0.30.5.1 | SUSE-SU-2019:14193-1 |
| SUSE | Linux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server for SAP Applications 12 SP1 | sudo | 1.8.10p3-2.28.1 | SUSE-SU-2019:2668-1 |
| openSUSE | Leap 15.0 | sudo | 1.8.22-lp150.8.1 | openSUSE-SU-2019:2333-1 |
| openSUSE | Leap 15.1 | sudo | 1.8.22-lp151.5.3.1 | openSUSE-SU-2019:2316-1 |
| openSUSE | Tumbleweed | sudo | 1.9.7p2-1.4 | openSUSE-SU-2024:11413-1 |
| Alpine | v3.8 | sudo | 1.8.23-r3 | ALPINE-CVE-2019-14287 |
| Alpine | v3.9 | sudo | 1.8.25_p1-r3 | ALPINE-CVE-2019-14287 |
| Alpine | v3.10 | sudo | 1.8.27-r1 | ALPINE-CVE-2019-14287 |
| Alpine | v3.11, v3.12, v3.13 and 11 more | sudo | 1.8.28-r0 | ALPINE-CVE-2019-14287 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
This flaw only affects specific, non-default configurations of sudo, in which sudoers configuration entry allows a user to run a command as any user except root, for example:
someuser myhost = (ALL, !root) /usr/bin/somecommand
This configuration allows user "someuser" to run somecommand as any other user except root. However, this flaw also allows someuser to run somecommand as root by specifying the target user using the numeric id of -1. Only the specified command can be run, this flaw does NOT allow user to run other commands that those specified in the sudoers configuration.
Any other configurations of sudo (including configurations that allow user to run commands as any user including root and configurations that allow user to run command as a specific other user) are NOT affected by this flaw.
Red Hat Virtualization Hypervisor includes an affected version of sudo, however the default configuration is not vulnerable to this flaw.
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.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 Extended Lifecycle Support | sudo-0:1.7.2p1-31.el5_11.1 | Fixed 2019-12-10 | RHSA-2019:4191 |
| Red Hat Enterprise Linux 6 | sudo-0:1.8.6p3-29.el6_10.2 | Fixed 2019-11-06 | RHSA-2019:3755 |
| Red Hat Enterprise Linux 6.5 Advanced Update Support | sudo-0:1.8.6p3-12.el6_5.2 | Fixed 2019-11-18 | RHSA-2019:3895 |
| Red Hat Enterprise Linux 6.6 Advanced Update Support | sudo-0:1.8.6p3-15.el6_6.2 | Fixed 2019-11-06 | RHSA-2019:3754 |
| Red Hat Enterprise Linux 7 | sudo-0:1.8.23-4.el7_7.1 | Fixed 2019-10-24 | RHSA-2019:3197 |
| Red Hat Enterprise Linux 7.2 Advanced Update Support | sudo-0:1.8.6p7-17.el7_2.2 | Fixed 2019-10-31 | RHSA-2019:3278 |
| Red Hat Enterprise Linux 7.2 Telco Extended Update Support | sudo-0:1.8.6p7-17.el7_2.2 | Fixed 2019-10-31 | RHSA-2019:3278 |
| Red Hat Enterprise Linux 7.2 Update Services for SAP Solutions | sudo-0:1.8.6p7-17.el7_2.2 | Fixed 2019-10-31 | RHSA-2019:3278 |
| Red Hat Enterprise Linux 7.3 Advanced Update Support | sudo-0:1.8.6p7-23.el7_3.2 | Fixed 2019-10-29 | RHSA-2019:3219 |
| Red Hat Enterprise Linux 7.3 Telco Extended Update Support | sudo-0:1.8.6p7-23.el7_3.2 | Fixed 2019-10-29 | RHSA-2019:3219 |
| Red Hat Enterprise Linux 7.3 Update Services for SAP Solutions | sudo-0:1.8.6p7-23.el7_3.2 | Fixed 2019-10-29 | RHSA-2019:3219 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | sudo-0:1.8.19p2-12.el7_4.1 | Fixed 2019-10-28 | RHSA-2019:3209 |
| Red Hat Enterprise Linux 7.4 Telco Extended Update Support | sudo-0:1.8.19p2-12.el7_4.1 | Fixed 2019-10-28 | RHSA-2019:3209 |
| Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions | sudo-0:1.8.19p2-12.el7_4.1 | Fixed 2019-10-28 | RHSA-2019:3209 |
| Red Hat Enterprise Linux 7.5 Extended Update Support | sudo-0:1.8.19p2-14.el7_5.1 | Fixed 2019-10-24 | RHSA-2019:3204 |
| Red Hat Enterprise Linux 7.6 Extended Update Support | sudo-0:1.8.23-3.el7_6.1 | Fixed 2019-10-24 | RHSA-2019:3205 |
| Red Hat Enterprise Linux 8 | sudo-0:1.8.25p1-8.el8_1 | Fixed 2019-11-05 | RHSA-2019:3694 |
| Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | sudo-0:1.8.25p1-4.el8_0.2 | Fixed 2020-02-04 | RHSA-2020:0388 |
| Red Hat OpenShift Container Platform 4 | machine-os-content-container | Fixed 2019-11-21 | RHSA-2019:3941 |
| Red Hat OpenShift Container Platform 4 | machine-os-content-container | Fixed 2019-11-19 | RHSA-2019:3916 |
| 2 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-14287.
Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.