CVE-2014-7817 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...
MediumCVSS 4.6
EPSS 0.58%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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 "$((...))".
Upgrade path
8 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/glibc(Debian 12) | < 2.19-14 | 2.19-14 | Fixed |
| debian/glibc(Debian 13) | < 2.19-14 | 2.19-14 | Fixed |
| debian/glibc(Debian 14) | < 2.19-14 | 2.19-14 | Fixed |
| ubuntu/eglibc(Ubuntu 14.04) | < 2.19-0ubuntu6.4; = 2.17-93ubuntu4; = 2.18-0ubuntu1; = 2.18-0ubuntu2 +11 more | 2.19-0ubuntu6.4 | Fixed |
| Canonical Ubuntu Linux | = 10.04; = 12.04; = 14.04; = 14.10 | No fix listed | Versions listed |
| debian linux | = 7.0 | No fix listed | Versions listed |
| GNU glibc | = 2.21 | No fix listed | Versions listed |
| opensuse | = 13.1; = 13.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/glibc(Debian:12) | < 2.19-14 | 2.19-14 |
| debian/glibc(Debian:13) | < 2.19-14 | 2.19-14 |
| debian/glibc(Debian:14) | < 2.19-14 | 2.19-14 |
| Canonical Ubuntu Linux | = 10.04 | No fix listed |
| Canonical Ubuntu Linux | = 12.04 | No fix listed |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 14.10 | No fix listed |
| debian linux | = 7.0 | No fix listed |
| GNU glibc | = 2.21 | No fix listed |
| opensuse | = 13.1 | No fix listed |
| opensuse | = 13.2 | No fix listed |
| ubuntu/eglibc(Ubuntu:14.04) | < 2.19-0ubuntu6.4 | 2.19-0ubuntu6.4 |
| ubuntu/eglibc(Ubuntu:14.04) | = 2.17-93ubuntu4 | No fix listed |
| ubuntu/eglibc(Ubuntu:14.04) | = 2.18-0ubuntu1 | No fix listed |
| ubuntu/eglibc(Ubuntu:14.04) | = 2.18-0ubuntu2 | No fix listed |
| ubuntu/eglibc(Ubuntu:14.04) | = 2.18-0ubuntu4 | No fix listed |
| ubuntu/eglibc(Ubuntu:14.04) | = 2.18-0ubuntu5 | No fix listed |
| ubuntu/eglibc(Ubuntu:14.04) | = 2.18-0ubuntu6 | No fix listed |
| ubuntu/eglibc(Ubuntu:14.04) | = 2.18-0ubuntu7 | No fix listed |
| ubuntu/eglibc(Ubuntu:14.04) | = 2.19-0ubuntu2 | No fix listed |
| ubuntu/eglibc(Ubuntu:14.04) | = 2.19-0ubuntu3 | No fix listed |
| ubuntu/eglibc(Ubuntu:14.04) | = 2.19-0ubuntu4 | No fix listed |
| ubuntu/eglibc(Ubuntu:14.04) | = 2.19-0ubuntu5 | No fix listed |
| ubuntu/eglibc(Ubuntu:14.04) | = 2.19-0ubuntu6 | No fix listed |
| ubuntu/eglibc(Ubuntu:14.04) | = 2.19-0ubuntu6.1 | No fix listed |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/eglibc(Ubuntu:14.04) | = 2.19-0ubuntu6.3 | No fix listed |
References
- Debian Security Tracker CVE-2014-7817 vendor-advisory
- linux.oracle.com
- linux.oracle.com vendor-advisory
- openSUSE-SU-2015:0351 vendor-advisory
- RHSA-2014:2023 vendor-advisory
- [oss-security] 20141120 CVE-2014-7817 glibc: command execution in wordexp() with WRDE_NOCMD specified mailing-list
- 62100 third-party-advisory
- 62146 third-party-advisory
- DSA-3142 vendor-advisory
- www.oracle.com
- www.oracle.com
- 71216 vdb-entry
- USN-2432-1 vendor-advisory
- gnu-glibc-cve20147817-command-exec(98852) vdb-entry
- GLSA-201602-02 vendor-advisory
- sourceware.org
- sourceware.org
- [libc-alpha] 20141119 [COMMITTED] CVE-2014-7817: wordexp fails to honour WRDE_NOCMD. issue-tracking mailing-list vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking