glibc: command execution in wordexp() with WRDE_NOCMD specified
Published Nov 24, 2014
4.6
MEDIUMCVSS 2.0
EPSS 0.58%
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 "$((`...`))".
Affected products
No data.
Configuration 1
- 10.04
- 12.04
- 14.04
- 14.10
Configuration 2
- 7.0
No data.
Red Hat Enterprise Linux 6
glibc-0:2.12-1.149.el6_6.4
Fixed · RHSA-2015:0016
Red Hat Enterprise Linux 7
glibc-0:2.17-55.el7_0.3
Fixed · RHSA-2014:2023
Red Hat Enterprise Linux 5
glibc
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | glibc-0:2.12-1.149.el6_6.4 | Fixed | RHSA-2015:0016 |
| Red Hat Enterprise Linux 7 | glibc-0:2.17-55.el7_0.3 | Fixed | RHSA-2014:2023 |
| Red Hat Enterprise Linux 5 | glibc | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the version of glibc package as shipped with Red Hat Enterprise Linux 5, 6 and 7. Red Hat Product Security has rated this issue as having Moderate security impact. Red Hat Enterprise Linux 5 is now in Extended Life Cycle phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.58% (0.00578) | 45.55th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.58% (0.00578) | 42.82th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.16% (0.00158) | 33.24th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.43% (0.02434) | 75.21th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.16% (0.00158) | 34.08th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.06% (0.00055) | 24.85th | v3 (v2023.03.01) |
| Jun 20, 2024 | 0.06% (0.00055) | 22.93th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.06% (0.00055) | 20.89th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.55% (0.01547) | 74.98th | v2 (v2022.01.01) |
| Feb 23, 2023 | 1.55% (0.01547) | 74.94th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.55% (0.01547) | 72.92th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.55% (0.01547) | 51.82th | v2 (v2022.01.01) |
References (21)
- http://linux.oracle.com/errata/ELSA-2015-0016.html x_refsource_CONFIRM
- http://linux.oracle.com/errata/ELSA-2015-0092.html x_refsource_CONFIRMVendor Advisory
- http://lists.opensuse.org/opensuse-updates/2015-02/msg00089.html vendor-advisoryx_refsource_SUSEVendor Advisory
- http://rhn.redhat.com/errata/RHSA-2014-2023.html vendor-advisoryx_refsource_REDHATVendor Advisory
- http://seclists.org/oss-sec/2014/q4/730 mailing-listx_refsource_MLIST
- http://secunia.com/advisories/62100 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/62146 third-party-advisoryx_refsource_SECUNIA
- http://www.debian.org/security/2015/dsa-3142 vendor-advisoryx_refsource_DEBIANVendor Advisory
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html x_refsource_CONFIRM
- http://www.securityfocus.com/bid/71216 vdb-entryx_refsource_BID
- http://www.ubuntu.com/usn/USN-2432-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2014-7817 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1157689 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98852 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2014-7817
- https://security.gentoo.org/glsa/201602-02 vendor-advisoryx_refsource_GENTOO
- https://sourceware.org/bugzilla/show_bug.cgi?id=17625 x_refsource_CONFIRM
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=commitdiff%3Bh=a39208bd7fb76c1b01c127b4c61f9bfd915bfe7c x_refsource_CONFIRM
- https://sourceware.org/ml/libc-alpha/2014-11/msg00519.html mailing-listx_refsource_MLISTVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2014-7817
Change history (0)
No recorded changes yet.