Vulnerability record · CVE-2014-7169 · published 25 September 2014
CVE-2014-7169: GNU Bash environment variable function parsing command injection (Shellshock variant)
Gnu · Bash
GNU Bash through 4.3 bash43-025 processes trailing strings after malformed function definitions in environment variable values, allowing command injection across a privilege boundary. This is an incomplete fix for CVE-2014-6271, so systems patched only for the original Shellshock flaw remain vulnerable. It matters because Bash is widely deployed and reachable through common services that pass attacker-controlled environment variables.
Description
GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of environment variables, which allows remote attackers to write to files or possibly have unknown other impact via a crafted environment, as demonstrated by vectors involving the ForceCommand feature in OpenSSH sshd, the mod_cgi and mod_cgid modules in the Apache HTTP Server, scripts executed by unspecified DHCP clients, and other situations in which setting the environment occurs across a privilege boundary from Bash execution. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-6271.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityCVSS 9.8, CISA KEV listing, and an EPSS probability near 1.0 indicate a remotely exploitable, actively exploited flaw with severe impact.
What it is
GNU Bash through 4.3 bash43-025 processes trailing strings after malformed function definitions in environment variable values, allowing command injection across a privilege boundary. This is an incomplete fix for CVE-2014-6271, so systems patched only for the original Shellshock flaw remain vulnerable. It matters because Bash is widely deployed and reachable through common services that pass attacker-controlled environment variables.
Impact
A remote attacker can write files and potentially execute arbitrary commands with the privileges of the process invoking Bash. The full scope of impact is described as possibly unknown, but file write and command execution are demonstrated.
Attack surface
Reached remotely over the network without authentication or user interaction, per the CVSS vector AV:N/AC:L/PR:N/UI:N. Demonstrated vectors include OpenSSH ForceCommand, Apache mod_cgi/mod_cgid, and DHCP client scripts where the environment is set across a privilege boundary.
Exploitation
Listed in CISA KEV since 2022-01-28 with a required action to apply vendor updates, and EPSS shows a 30-day probability of 0.9994 (99.97th percentile), indicating active exploitation is expected. No ransomware campaign use is documented in this record.
What to do
- Apply vendor Bash updates that address CVE-2014-7169, not just the original CVE-2014-6271 fix.
- Verify the installed Bash version is newer than bash43-025 and re-test after patching.
- Restrict or disable CGI and other services that pass untrusted environment variables into Bash where feasible.
- Limit exposure of SSH ForceCommand and DHCP client script paths that cross a privilege boundary.
- Monitor vendor advisories for the listed affected products and apply the corresponding errata.
Detection
- Search process and command-line logs for Bash invocations containing function definitions such as '() {' in environment-derived arguments.
- Monitor web server and CGI logs for requests carrying malformed function-definition payloads in headers or parameters.
- Alert on unexpected file writes or child process creation by CGI, sshd, or DHCP-related processes.
- Audit hosts for Bash versions at or below bash43-025 to identify unpatched systems.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2014-7169 to the Known Exploited Vulnerabilities catalog on 28 January 2022 as "GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 28 July 2022.
Affected products
74 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2014-7169 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2014-7169), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.