CVE-2014-7169
GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability
Known exploited
CISA added this CVE to its list of known exploited vulnerabilities on 28 Jan 2022. US federal agencies had to act by 28 Jul 2022.
- Name
- GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability
- Required action
- Apply updates per vendor instructions.
- Ransomware
- Use in ransomware campaigns is not known
- Notes
- https://nvd.nist.gov/vuln/detail/CVE-2014-7169
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 99.9%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.9% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 10 Feb 2025):
- Exploitation
- active: CISA has reliable evidence of exploitation in the wild
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in their own package version, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2014-7169 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2014-7169RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2014-7169Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image; it prints the installed and the fixed version when a package is affected:
trivy rootfs --scanners vuln / | grep CVE-2014-7169
trivy image --scanners vuln IMAGE | grep CVE-2014-7169
Patchbrief matches the package lists of your Linux servers and containers every day against the Trivy vulnerability database, which covers the packages of Linux distributions and language packages (npm, PyPI, Go, Maven and others), and sends one digest with the command that fixes each problem. Install the agent.
References
Advisories
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897 www-01.ibm.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21685749 www-01.ibm.com
- HPSBMU03165 marc.info · vendor advisory
- HPSBHF03119 marc.info · vendor advisory
- https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk102673&src=securityAlerts supportcenter.checkpoint.com
- HPSBST03131 marc.info · vendor advisory
- SSRT101819 marc.info · vendor advisory
- HPSBMU03245 marc.info · vendor advisory
- openSUSE-SU-2014:1229 lists.opensuse.org · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686084 www-01.ibm.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21686479 www-01.ibm.com
- 61188 secunia.com · third party advisory
140 more
- JVN#55667175 jvn.jp · third party advisory
- 61676 secunia.com · third party advisory
- openSUSE-SU-2014:1254 lists.opensuse.org · vendor advisory
- 60433 secunia.com · third party advisory
- HPSBMU03143 marc.info · vendor advisory
- HPSBMU03182 marc.info · vendor advisory
- RHSA-2014:1306 rhn.redhat.com · vendor advisory
- HPSBST03155 marc.info · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21685541 www-01.ibm.com
- 61715 secunia.com · third party advisory
- USN-2363-2 ubuntu.com · vendor advisory
- http://www.oracle.com/technetwork/topics/security/bashcve-2014-7169-2317675.html oracle.com
- 61816 secunia.com · third party advisory
- openSUSE-SU-2014:1310 lists.opensuse.org · vendor advisory
- 61442 secunia.com · third party advisory
- HPSBMU03246 marc.info · vendor advisory
- HPSBST03195 marc.info · vendor advisory
- 61283 secunia.com · third party advisory
- SSRT101711 marc.info · vendor advisory
- https://kc.mcafee.com/corporate/index?page=content&id=SB10085 kc.mcafee.com
- openSUSE-SU-2014:1308 lists.opensuse.org · vendor advisory
- 61654 secunia.com · third party advisory
- http://www.novell.com/support/kb/doc.php?id=7015701 novell.com
- http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5096315 www-947.ibm.com
- 62312 secunia.com · third party advisory
- 59272 secunia.com · third party advisory
- HPSBST03122 marc.info · vendor advisory
- https://support.f5.com/kb/en-us/solutions/public/15000/600/sol15629.html support.f5.com
- HPSBMU03217 marc.info · vendor advisory
- RHSA-2014:1312 rhn.redhat.com · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21685604 www-01.ibm.com
- USN-2363-1 ubuntu.com · vendor advisory
- SSRT101868 marc.info · vendor advisory
- 61703 secunia.com · third party advisory
- http://support.apple.com/kb/HT6495 support.apple.com
- VU#252743 kb.cert.org · third party advisory
- 61065 secunia.com · third party advisory
- http://linux.oracle.com/errata/ELSA-2014-3075.html linux.oracle.com
- HPSBST03129 marc.info · vendor advisory
- HPSBMU03144 marc.info · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686445 www-01.ibm.com
- http://support.novell.com/security/cve/CVE-2014-7169.html support.novell.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21686131 www-01.ibm.com
- JVNDB-2014-000126 jvndb.jvn.jp · third party advisory
- TA14-268A us-cert.gov · third party advisory
- 61641 secunia.com · third party advisory
- SUSE-SU-2014:1247 lists.opensuse.org · vendor advisory
- https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10648 kb.juniper.net
- https://access.redhat.com/node/1200223 access.redhat.com
- SUSE-SU-2014:1287 lists.opensuse.org · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004898 www-01.ibm.com
- APPLE-SA-2014-10-16-1 archives.neohapsis.com · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21685914 www-01.ibm.com
- MDVSA-2015:164 mandriva.com · vendor advisory
- 61619 secunia.com · third party advisory
- http://linux.oracle.com/errata/ELSA-2014-3078.html linux.oracle.com
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04497075 support.hpe.com
- 60325 secunia.com · third party advisory
- https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes help.ecostruxureit.com
- 60024 secunia.com · third party advisory
- 61622 secunia.com · third party advisory
- https://access.redhat.com/articles/1200223 access.redhat.com
- 62343 secunia.com · third party advisory
- http://advisories.mageia.org/MGASA-2014-0393.html advisories.mageia.org
- 61565 secunia.com · third party advisory
- https://www.suse.com/support/shellshock/ suse.com
- HPSBST03157 marc.info · vendor advisory
- 61313 secunia.com · third party advisory
- 61873 secunia.com · third party advisory
- 61485 secunia.com · third party advisory
- openSUSE-SU-2014:1242 lists.opensuse.org · vendor advisory
- 61618 secunia.com · third party advisory
- 60947 secunia.com · third party advisory
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04518183 support.hpe.com
- https://support.apple.com/kb/HT6535 support.apple.com
- HPSBST03154 marc.info · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021272 www-01.ibm.com
- HPSBGN03142 marc.info · vendor advisory
- 61312 secunia.com · third party advisory
- 60193 secunia.com · third party advisory
- http://www.vmware.com/security/advisories/VMSA-2014-0010.html vmware.com
- 61479 secunia.com · third party advisory
- 60063 secunia.com · third party advisory
- 60034 secunia.com · third party advisory
- HPSBMU03133 marc.info · vendor advisory
- 59907 secunia.com · third party advisory
- 58200 secunia.com · third party advisory
- HPSBST03181 marc.info · vendor advisory
- 61643 secunia.com · third party advisory
- http://www.novell.com/support/kb/doc.php?id=7015721 novell.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21687079 www-01.ibm.com
- 61503 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686246 www-01.ibm.com
- RHSA-2014:1354 rhn.redhat.com · vendor advisory
- HPSBGN03117 marc.info · vendor advisory
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004915 www-01.ibm.com
- HPSBHF03145 marc.info · vendor advisory
- http://www.qnap.com/i/en/support/con_show.php?cid=61 qnap.com
- HPSBST03148 marc.info · vendor advisory
- 61552 secunia.com · third party advisory
- 61780 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021279 www-01.ibm.com
- https://support.citrix.com/article/CTX200223 support.citrix.com
- http://linux.oracle.com/errata/ELSA-2014-3077.html linux.oracle.com
- http://www-01.ibm.com/support/docview.wss?uid=swg21686447 www-01.ibm.com
- 62228 secunia.com · third party advisory
- HPSBGN03138 marc.info · vendor advisory
- 61855 secunia.com · third party advisory
- HPSBHF03124 marc.info · vendor advisory
- 60044 secunia.com · third party advisory
- 61291 secunia.com · third party advisory
- HPSBHF03125 marc.info · vendor advisory
- 59737 secunia.com · third party advisory
- 61287 secunia.com · third party advisory
- HPSBHF03146 marc.info · vendor advisory
- 61711 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021361 www-01.ibm.com
- HPSBGN03141 marc.info · vendor advisory
- RHSA-2014:1311 rhn.redhat.com · vendor advisory
- 61128 secunia.com · third party advisory
- DSA-3035 debian.org · vendor advisory
- https://support.citrix.com/article/CTX200217 support.citrix.com
- 61471 secunia.com · third party advisory
- 60055 secunia.com · third party advisory
- 20140926 GNU Bash Environmental Variable Command Injection Vulnerability tools.cisco.com · vendor advisory
- 61550 secunia.com · third party advisory
- 61633 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686494 www-01.ibm.com
- http://linux.oracle.com/errata/ELSA-2014-1306.html linux.oracle.com
- https://kb.bluecoat.com/index?page=content&id=SA82 kb.bluecoat.com
- SUSE-SU-2014:1259 lists.opensuse.org · vendor advisory
- 61328 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21685733 www-01.ibm.com
- 61129 secunia.com · third party advisory
- 61700 secunia.com · third party advisory
- 61626 secunia.com · third party advisory
- 61603 secunia.com · third party advisory
- 61857 secunia.com · third party advisory
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004879 www-01.ibm.com
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-7169 cisa.gov · government resource
Exploits and proof of concept
- 34879 exploit-db.com · exploit
Other references
- http://packetstormsecurity.com/files/128517/VMware-Security-Advisory-2014-0010.html packetstormsecurity.com
- [oss-security] 20140924 Re: CVE-2014-6271: remote code execution through bash openwall.com · mailing list
- 20141001 NEW VMSA-2014-0010 - VMware product updates address critical Bash security vulnerabilities securityfocus.com · mailing list
- 20141001 FW: NEW VMSA-2014-0010 - VMware product updates address critical Bash security vulnerabilities seclists.org · mailing list
- http://packetstormsecurity.com/files/128567/CA-Technologies-GNU-Bash-Shellshock.html packetstormsecurity.com
- http://lcamtuf.blogspot.com/2014/09/quick-notes-about-bash-bug-its-impact.html lcamtuf.blogspot.com
- http://twitter.com/taviso/statuses/514887394294652929 twitter.com
- https://www.arista.com/en/support/advisories-notices/security-advisories/1008-security-advisory-0006 arista.com
Guides
- Shellshock (CVE-2014-6271 and follow-ups): bash runs code from environment variables How a function definition in an environment variable let attackers run commands through CGI scripts, SSH and DHCP, the six CVEs, and how to test bash today.
Source: the record CVE-2014-7169 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.