CVE-2014-6271
GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability
- Critical 9.8
- Exploited: added to CISA KEV 28 Jan 2022
- A public exploit reference is listed
Description
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code 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, aka "ShellShock." NOTE: the original fix for this issue was incorrect; CVE-2014-7169 has been assigned to cover the vulnerability that is still present after the incorrect fix.
Key facts
- Published
- 24 Sep 2014
- Last changed
- 22 Oct 2025
- Assigned by
- debian
- KEV added
- 28 Jan 2022
- KEV fix due
- 28 Jul 2022
- EPSS
- 99.999% likely to be exploited in the next 30 days, higher than 99.993% of CVEs (scores for 15 Nov 2026)
- SSVC (CISA)
- Exploitation: active; Automatable: yes; Technical impact: total
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 9.8CVSS 3.1, Criticalfrom CISA (ADP container)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What to do
- Apply updates per vendor instructions.CISA KEV required action
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a |
|
Timeline
- 24 Sep 2014 Published
- 28 Jan 2022 CVE-2014-6271 added to CISA KEV
- 28 Jan 2022 Added to the CISA KEV catalogue
Weakness
Practice this bug class
HackZoneLabs has a hands-on lab on OS command injection (CWE-78).
References
- 37816
- packetstormsecurity.com
- SUSE-SU-2014:1223
- www-01.ibm.com
- www-01.ibm.com
- HPSBMU03165
- SSRT101816
- 39918
- HPSBHF03119
- RHSA-2014:1295
- openSUSE-SU-2014:1226
- securityblog.redhat.com
- supportcenter.checkpoint.com
- HPSBST03131
- SSRT101819
- 20141001 NEW VMSA-2014-0010 - VMware product updates address critical Bash security vulnerabilities
- HPSBMU03245
- www-01.ibm.com
- www-01.ibm.com
- HPSBST03196
- 61188
- www.websense.com
- JVN#55667175
- 61676
- 40619
- openSUSE-SU-2014:1254
- 60433
- 38849
- HPSBMU03143
- HPSBMU03182
- kb.juniper.net
- SUSE-SU-2014:1260
- HPSBST03155
- www-01.ibm.com
- 61715
- www.oracle.com
- 61816
- openSUSE-SU-2014:1310
- 61442
- HPSBMU03246
- HPSBST03195
- 61283
- SSRT101711
- USN-2362-1
- kc.mcafee.com
- openSUSE-SU-2014:1308
- 61654
- 61542
- www.novell.com
- www-947.ibm.com
- 62312
- 59272
- HPSBST03122
- support.f5.com
- HPSBMU03217
- www-01.ibm.com
- SSRT101868
- 61703
- support.apple.com
- VU#252743
- 61065
- SUSE-SU-2014:1213
- HPSBST03129
- HPSBMU03144
- www-01.ibm.com
- www-01.ibm.com
- 70103
- JVNDB-2014-000126
- SSRT101827
- TA14-268A
- SUSE-SU-2014:1212
- 61641
- kb.juniper.net
- access.redhat.com
- packetstormsecurity.com
- SUSE-SU-2014:1287
- www-01.ibm.com
- APPLE-SA-2014-10-16-1
- www-01.ibm.com
- 20141001 FW: NEW VMSA-2014-0010 - VMware product updates address critical Bash security vulnerabilities
- MDVSA-2015:164
- RHSA-2014:1293
- support.hpe.com
- openSUSE-SU-2014:1238
- HPSBMU03220
- 60325
- help.ecostruxureit.com
- 60024
- packetstormsecurity.com
- 34879
- access.redhat.com
- 62343
- 61565
- www.suse.com
- HPSBST03157
- 61313
- SSRT101742
- 61873
- 61485
- 60947
- support.hpe.com
- support.apple.com
- HPSBST03154
- HPSBST03265
- www-01.ibm.com
- HPSBGN03142
- 61312
- 60193
- www.vmware.com
- linux.oracle.com
- 60063
- packetstormsecurity.com
- 60034
- HPSBMU03133
- lcamtuf.blogspot.com
- 59907
- 58200
- HPSBST03181
- 61643
- www.novell.com
- www-01.ibm.com
- 61503
- www-01.ibm.com
- RHSA-2014:1354
- 40938
- HPSBGN03117
- support.novell.com
- www-01.ibm.com
- 61547
- HPSBHF03145
- www.qnap.com
- HPSBST03148
- 61552
- 61780
- www-01.ibm.com
- support.citrix.com
- DSA-3032
- www-01.ibm.com
- 62228
- HPSBGN03138
- 61855
- HPSBHF03124
- 60044
- 61291
- RHSA-2014:1294
- HPSBHF03125
- 59737
- 61287
- HPSBHF03146
- HPSBGN03233
- bugzilla.redhat.com
- SSRT101739
- 61711
- HPSBOV03228
- www-01.ibm.com
- HPSBGN03141
- advisories.mageia.org
- 61128
- support.citrix.com
- 61471
- 60055
- 20140926 GNU Bash Environmental Variable Command Injection Vulnerability
- 61550
- 61633
- linux.oracle.com
- www-01.ibm.com
- kb.bluecoat.com
- 61328
- www-01.ibm.com
- 42938
- 61129
- 61700
- 61603
- 61857
- www-01.ibm.com
- packetstormsecurity.com
- www.arista.com