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 "$((`...`))".
References (17)
Core 17
Core References
Mailing List mailing-list
x_refsource_mlist
http://seclists.org/oss-sec/2014/q4/730
Vendor Advisory x_refsource_confirm
http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
Various Sources x_refsource_confirm
http://linux.oracle.com/errata/ELSA-2015-0016.html
Vendor Advisory vendor-advisory
x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2432-1
Vendor Advisory vendor-advisory
x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2014-2023.html
Vendor Advisory vendor-advisory
x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2015-02/msg00089.html
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201602-02
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/71216
Vendor Advisory x_refsource_confirm
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/62100
Third Party Advisory, VDB Entry vdb-entry
x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/98852
Third Party Advisory third-party-advisory
x_refsource_secunia
http://secunia.com/advisories/62146
Vendor Advisory x_refsource_confirm
http://linux.oracle.com/errata/ELSA-2015-0092.html
Vendor Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2015/dsa-3142
Patch x_refsource_confirm
https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=commitdiff%3Bh=a39208bd7fb76c1b01c127b4c61f9bfd915bfe7c
Patch x_refsource_confirm
https://sourceware.org/bugzilla/show_bug.cgi?id=17625
Vendor Advisory mailing-list
x_refsource_mlist
https://sourceware.org/ml/libc-alpha/2014-11/msg00519.html
Scores
EPSS
0.0016
EPSS Percentile
36.2%
Details
CWE
CWE-20
Status
published
Products (8)
canonical/ubuntu_linux
10.04
canonical/ubuntu_linux
12.04
canonical/ubuntu_linux
14.04
canonical/ubuntu_linux
14.10
debian/debian_linux
7.0
gnu/glibc
2.21
opensuse/opensuse
13.1
opensuse/opensuse
13.2
Published
Nov 24, 2014
Tracked Since
Feb 18, 2026