Input validation error in Glibc - CVE-2014-7817
Published: February 13, 2023 / Updated: June 3, 2025
Vulnerability identifier: #VU110112
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2014-7817
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
Glibc
Glibc
Software vendor:
GNU
GNU
Description
The vulnerability allows a local user to read and manipulate data.
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 "$((`...`))".
Remediation
Install update from vendor's website.
External links
- https://sourceware.org/bugzilla/show_bug.cgi?id=17625
- http://seclists.org/oss-sec/2014/q4/730
- https://sourceware.org/ml/libc-alpha/2014-11/msg00519.html
- http://www.securityfocus.com/bid/71216
- http://www.ubuntu.com/usn/USN-2432-1
- http://linux.oracle.com/errata/ELSA-2015-0092.html
- http://lists.opensuse.org/opensuse-updates/2015-02/msg00089.html
- http://rhn.redhat.com/errata/RHSA-2014-2023.html
- http://www.debian.org/security/2015/dsa-3142
- https://security.gentoo.org/glsa/201602-02
- http://secunia.com/advisories/62146
- http://secunia.com/advisories/62100
- http://linux.oracle.com/errata/ELSA-2015-0016.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98852
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=commitdiff%3Bh=a39208bd7fb76c1b01c127b4c61f9bfd915bfe7c