CVE-2017-1000368 Command injection in n/a
Attackers can exploit input validation flaws in sudo to execute arbitrary commands and disclose sensitive information.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-1000368?
CVE-2017-1000368 is a high-severity command injection vulnerability in n/a, published on 5 Jun 2017. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Todd Miller's sudo version 1.8.20p1 and earlier is vulnerable to an input validation (embedded newlines) in the get_process_ttyname() function resulting in information disclosure and command execution.
Weakness: CWE-20
Which versions are affected by CVE-2017-1000368?
It affects 1 product.
Linux distribution packages (40)
sudo Red Hat:enterprise_linux:6::client | All versions | 0:1.8.6p3-29.el6_9 |
sudo-debuginfo Red Hat:enterprise_linux:6::client | All versions | 0:1.8.6p3-29.el6_9 |
sudo-devel Red Hat:enterprise_linux:6::client | All versions | 0:1.8.6p3-29.el6_9 |
sudo Red Hat:enterprise_linux:6::computenode | All versions | 0:1.8.6p3-29.el6_9 |
sudo-debuginfo Red Hat:enterprise_linux:6::computenode | All versions | 0:1.8.6p3-29.el6_9 |
sudo-devel Red Hat:enterprise_linux:6::computenode | All versions | 0:1.8.6p3-29.el6_9 |
sudo Red Hat:enterprise_linux:6::server | All versions | 0:1.8.6p3-29.el6_9 |
sudo-debuginfo Red Hat:enterprise_linux:6::server | All versions | 0:1.8.6p3-29.el6_9 |
sudo-devel Red Hat:enterprise_linux:6::server | All versions | 0:1.8.6p3-29.el6_9 |
sudo Red Hat:enterprise_linux:6::workstation | All versions | 0:1.8.6p3-29.el6_9 |
sudo-debuginfo Red Hat:enterprise_linux:6::workstation | All versions | 0:1.8.6p3-29.el6_9 |
sudo-devel Red Hat:enterprise_linux:6::workstation | All versions | 0:1.8.6p3-29.el6_9 |
sudo Red Hat:enterprise_linux:7::client | All versions | 0:1.8.6p7-23.el7_3 |
sudo-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:1.8.6p7-23.el7_3 |
sudo-devel Red Hat:enterprise_linux:7::client | All versions | 0:1.8.6p7-23.el7_3 |
sudo Red Hat:enterprise_linux:7::computenode | All versions | 0:1.8.6p7-23.el7_3 |
sudo-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:1.8.6p7-23.el7_3 |
sudo-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:1.8.6p7-23.el7_3 |
sudo Red Hat:enterprise_linux:7::server | All versions | 0:1.8.6p7-23.el7_3 |
sudo-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:1.8.6p7-23.el7_3 |
sudo-devel Red Hat:enterprise_linux:7::server | All versions | 0:1.8.6p7-23.el7_3 |
sudo Red Hat:enterprise_linux:7::workstation | All versions | 0:1.8.6p7-23.el7_3 |
sudo-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:1.8.6p7-23.el7_3 |
sudo-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:1.8.6p7-23.el7_3 |
sudo Red Hat:rhel_els:5 | All versions | 0:1.7.2p1-31.el5_11 |
sudo-debuginfo Red Hat:rhel_els:5 | All versions | 0:1.7.2p1-31.el5_11 |
sudo SUSE:Linux Enterprise Desktop 12 SP2 | All versions | 1.8.10p3-10.10.2 |
sudo SUSE:Linux Enterprise Desktop 12 SP2 | All versions | 1.8.10p3-10.13.1 |
sudo SUSE:Linux Enterprise Server 12 SP1-LTSS | All versions | 1.8.10p3-2.16.1 |
sudo SUSE:Linux Enterprise Server 12 SP1-LTSS | All versions | 1.8.10p3-2.19.1 |
sudo SUSE:Linux Enterprise Server 12 SP2 | All versions | 1.8.10p3-10.10.2 |
sudo SUSE:Linux Enterprise Server 12 SP2 | All versions | 1.8.10p3-10.13.1 |
sudo SUSE:Linux Enterprise Server 12-LTSS | All versions | 1.8.10p3-2.16.1 |
sudo SUSE:Linux Enterprise Server 12-LTSS | All versions | 1.8.10p3-2.19.1 |
sudo SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | All versions | 1.8.10p3-10.10.2 |
sudo SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | All versions | 1.8.10p3-10.13.1 |
sudo SUSE:Linux Enterprise Server for SAP Applications 12 | All versions | 1.8.10p3-2.16.1 |
sudo SUSE:Linux Enterprise Server for SAP Applications 12 | All versions | 1.8.10p3-2.19.1 |
sudo SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | All versions | 1.8.10p3-2.16.1 |
sudo SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | All versions | 1.8.10p3-2.19.1 |
Products include Sudo Project Sudo.
How do I fix CVE-2017-1000368?
Apply the vendor's patch.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2017-1000368 being exploited?
There is no known exploitation of CVE-2017-1000368 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as ALPINE-CVE-2017-1000368, DEBIAN-CVE-2017-1000368, DLA-1011-1, GHSA-v7hw-ff58-vxfm, RHSA-2017:1574, SUSE-SU-2017:1626-1 and 5 more.