The wordexp function in GNU C Library (aka glibc) 2.21 does not enforce the WRDE_NOCMD…
Priority LOW 22CWE-20Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Partial Red Hat: 16 fixed, 1 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
Summary
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 "$((`...`))".
Why it matters now
EPSS 0.00578 47th percentileScored 2026-11-07
Fix Partial Red Hat: 2 advisoriesRed Hat: 16 fixed, 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:lts:*:*:* | 10.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:* | 14.10 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:a:gnu:glibc:2.21:*:*:*:*:*:*:* | 2.21 | Vulnerable | GNU |
| cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:* | 13.1 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* | 13.2 | Vulnerable | openSUSE |
- cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:lts:*:*:* Versions 10.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:* Versions 14.10 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:a:gnu:glibc:2.21:*:*:*:*:*:*:* Versions 2.21 Vulnerable ·GNU
- cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:* Versions 13.1 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* Versions 13.2 Vulnerable ·openSUSE
Remediation
Red Hat 2 advisories
- RHSA-2015:0016 Released 2015-01-07 · Red Hat rating Moderateglibc security and bug fix update
- Red Hat Enterprise Linux Desktop (v. 6) glibc-2.12-1.149.el6_6.4, glibc-common-2.12-1.149.el6_6.4, glibc-devel-2.12-1.149.el6_6.4 +3
- Red Hat Enterprise Linux Desktop Optional (v. 6) glibc-static-2.12-1.149.el6_6.4
- Red Hat Enterprise Linux HPC Node (v. 6) glibc-2.12-1.149.el6_6.4, glibc-common-2.12-1.149.el6_6.4, glibc-devel-2.12-1.149.el6_6.4 +3
- Red Hat Enterprise Linux HPC Node Optional (v. 6) glibc-static-2.12-1.149.el6_6.4
- Red Hat Enterprise Linux Server (v. 6) glibc-2.12-1.149.el6_6.4, glibc-2.12-1.149.el6_6.4.ppc, glibc-common-2.12-1.149.el6_6.4 +5
- Red Hat Enterprise Linux Server Optional (v. 6) glibc-static-2.12-1.149.el6_6.4, glibc-static-2.12-1.149.el6_6.4.ppc
- Red Hat Enterprise Linux Workstation (v. 6) glibc-2.12-1.149.el6_6.4, glibc-common-2.12-1.149.el6_6.4, glibc-devel-2.12-1.149.el6_6.4 +3
- Red Hat Enterprise Linux Workstation Optional (v. 6) glibc-static-2.12-1.149.el6_6.4
- RHSA-2014:2023 Released 2014-12-18 · Red Hat rating Moderateglibc security and bug fix update
- Red Hat Enterprise Linux Client (v. 7) glibc-2.17-55.el7_0.3, glibc-common-2.17-55.el7_0.3, glibc-devel-2.17-55.el7_0.3 +3
- Red Hat Enterprise Linux Client Optional (v. 7) glibc-static-2.17-55.el7_0.3
- Red Hat Enterprise Linux ComputeNode (v. 7) glibc-2.17-55.el7_0.3, glibc-common-2.17-55.el7_0.3, glibc-devel-2.17-55.el7_0.3 +3
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) glibc-static-2.17-55.el7_0.3
- Red Hat Enterprise Linux Server (v. 7) glibc-2.17-55.el7_0.3, glibc-2.17-55.el7_0.3.ppc, glibc-common-2.17-55.el7_0.3 +5
- Red Hat Enterprise Linux Server Optional (v. 7) glibc-static-2.17-55.el7_0.3, glibc-static-2.17-55.el7_0.3.ppc
- Red Hat Enterprise Linux Workstation (v. 7) glibc-2.17-55.el7_0.3, glibc-common-2.17-55.el7_0.3, glibc-devel-2.17-55.el7_0.3 +3
- Red Hat Enterprise Linux Workstation Optional (v. 7) glibc-static-2.17-55.el7_0.3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2014:2023 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2014:2023 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2014:2023 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2014:2023 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2015:0016 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2015:0016 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2015:0016 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2015:0016 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2015:0016 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2014:2023 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2015:0016 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2014:2023 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2015:0016 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2014:2023 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2015:0016 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2014:2023 |
Timeline
- 2026-10-02 Threatist record created from CVE-2014-7817
- 2026-10-03 Alias added: GHSA-47cv-pfmg-555j
References
Advisory 7
Other 6
- [oss-security] 20141120 CVE-2014-7817 glibc: command execution in wordexp() with WRDE_NOCMD specified
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- http://linux.oracle.com/errata/ELSA-2015-0016.html
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=commitdiff%3Bh=a39208bd7fb76c1b01c127b4c61f9bfd915bfe7c
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://sourceware.org/bugzilla/show_bug.cgi?id=17625
Sources
- CVE-2014-7817 · CVE Program
- CVE-2014-7817 · NVD
- FIRST EPSS
- GHSA-47cv-pfmg-555j · GitHub Advisory Database · CC BY 4.0
- CVE-2014-7817 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences