CVE-2014-7817 Command injection in n/a
Attackers can execute arbitrary commands via the wordexp function in glibc due to missing enforcement of the WRDE_NOCMD flag.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Not stated
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-7817?
CVE-2014-7817 is a medium-severity command injection vulnerability in Canonical Ubuntu Linux, published on 24 Nov 2014.
Official description
The wordexp function in GNU C Library (aka glibc) 2.21 does not enforce the WRDE_NOCMD flag, which allows context-dependent attackers to execute arbitrary commands, as demonstrated by input containing "$((`...`))".
Weakness: CWE-20
Which versions are affected by CVE-2014-7817?
It affects 4 products.
Linux distribution packages (36)
glibc Red Hat:enterprise_linux:7::client | All versions | 0:2.17-55.el7_0.3 |
glibc-common Red Hat:enterprise_linux:7::client | All versions | 0:2.17-55.el7_0.3 |
glibc-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:2.17-55.el7_0.3 |
glibc-debuginfo-common Red Hat:enterprise_linux:7::client | All versions | 0:2.17-55.el7_0.3 |
glibc-devel Red Hat:enterprise_linux:7::client | All versions | 0:2.17-55.el7_0.3 |
glibc-headers Red Hat:enterprise_linux:7::client | All versions | 0:2.17-55.el7_0.3 |
glibc-static Red Hat:enterprise_linux:7::client | All versions | 0:2.17-55.el7_0.3 |
glibc-utils Red Hat:enterprise_linux:7::client | All versions | 0:2.17-55.el7_0.3 |
nscd Red Hat:enterprise_linux:7::client | All versions | 0:2.17-55.el7_0.3 |
glibc Red Hat:enterprise_linux:7::computenode | All versions | 0:2.17-55.el7_0.3 |
glibc-common Red Hat:enterprise_linux:7::computenode | All versions | 0:2.17-55.el7_0.3 |
glibc-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:2.17-55.el7_0.3 |
glibc-debuginfo-common Red Hat:enterprise_linux:7::computenode | All versions | 0:2.17-55.el7_0.3 |
glibc-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:2.17-55.el7_0.3 |
glibc-headers Red Hat:enterprise_linux:7::computenode | All versions | 0:2.17-55.el7_0.3 |
glibc-static Red Hat:enterprise_linux:7::computenode | All versions | 0:2.17-55.el7_0.3 |
glibc-utils Red Hat:enterprise_linux:7::computenode | All versions | 0:2.17-55.el7_0.3 |
nscd Red Hat:enterprise_linux:7::computenode | All versions | 0:2.17-55.el7_0.3 |
glibc Red Hat:enterprise_linux:7::server | All versions | 0:2.17-55.el7_0.3 |
glibc-common Red Hat:enterprise_linux:7::server | All versions | 0:2.17-55.el7_0.3 |
glibc-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:2.17-55.el7_0.3 |
glibc-debuginfo-common Red Hat:enterprise_linux:7::server | All versions | 0:2.17-55.el7_0.3 |
glibc-devel Red Hat:enterprise_linux:7::server | All versions | 0:2.17-55.el7_0.3 |
glibc-headers Red Hat:enterprise_linux:7::server | All versions | 0:2.17-55.el7_0.3 |
glibc-static Red Hat:enterprise_linux:7::server | All versions | 0:2.17-55.el7_0.3 |
glibc-utils Red Hat:enterprise_linux:7::server | All versions | 0:2.17-55.el7_0.3 |
nscd Red Hat:enterprise_linux:7::server | All versions | 0:2.17-55.el7_0.3 |
glibc Red Hat:enterprise_linux:7::workstation | All versions | 0:2.17-55.el7_0.3 |
glibc-common Red Hat:enterprise_linux:7::workstation | All versions | 0:2.17-55.el7_0.3 |
glibc-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:2.17-55.el7_0.3 |
glibc-debuginfo-common Red Hat:enterprise_linux:7::workstation | All versions | 0:2.17-55.el7_0.3 |
glibc-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:2.17-55.el7_0.3 |
glibc-headers Red Hat:enterprise_linux:7::workstation | All versions | 0:2.17-55.el7_0.3 |
glibc-static Red Hat:enterprise_linux:7::workstation | All versions | 0:2.17-55.el7_0.3 |
glibc-utils Red Hat:enterprise_linux:7::workstation | All versions | 0:2.17-55.el7_0.3 |
nscd Red Hat:enterprise_linux:7::workstation | All versions | 0:2.17-55.el7_0.3 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Gnu Glibc, Opensuse Opensuse.
How do I fix CVE-2014-7817?
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-2014-7817 being exploited?
There is no known exploitation of CVE-2014-7817 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2014-7817, GHSA-47cv-pfmg-555j, MGASA-2014-0496, RHSA-2014:2023, UBUNTU-CVE-2014-7817.