CVE-2014-6271
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote…
- Published
- Updated
- Reserved
- Assigned by
- debian
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability.
- Added
- 28 Jan 2022
- Fix due (US federal)
- 28 Jul 2022
- Used by ransomware
- Not known
Apply updates per vendor instructions.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 100.0% · top 0.1% of all CVEs (5 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
n/a
- affected n/a
References (171)
- 37816 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- http://packetstormsecurity.com/files/128517/VMware-Security-Advisory-2014-0010.html (opens in a new tab)x_refsource_MISCx_transferred
- SUSE-SU-2014:1223 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21685749 (opens in a new tab)x_refsource_CONFIRMx_transferred
- HPSBMU03165 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- SSRT101816 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 39918 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- HPSBHF03119 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- RHSA-2014:1295 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- openSUSE-SU-2014:1226 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- https://securityblog.redhat.com/2014/09/24/bash-specially-crafted-environment-variables-code-injection-attack/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk102673&src=securityAlerts (opens in a new tab)x_refsource_CONFIRMx_transferred
- HPSBST03131 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- SSRT101819 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 20141001 NEW VMSA-2014-0010 - VMware product updates address critical Bash security vulnerabilities (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- HPSBMU03245 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21686084 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21686479 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 61188 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.websense.com/support/article/kbarticle/Vulnerabilities-resolved-in-TRITON-APX-Version-8-0 (opens in a new tab)x_refsource_CONFIRMx_transferred
- JVN#55667175 (opens in a new tab)third-party-advisoryx_refsource_JVNx_transferred
- 61676 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 40619 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- openSUSE-SU-2014:1254 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 60433 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 38849 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- HPSBMU03143 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- HPSBMU03182 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673 (opens in a new tab)x_refsource_CONFIRMx_transferred
- SUSE-SU-2014:1260 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- HPSBST03155 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21685541 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 61715 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.oracle.com/technetwork/topics/security/bashcve-2014-7169-2317675.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- 61816 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- openSUSE-SU-2014:1310 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 61442 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBMU03246 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- HPSBST03195 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 61283 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- SSRT101711 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- USN-2362-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://kc.mcafee.com/corporate/index?page=content&id=SB10085 (opens in a new tab)x_refsource_CONFIRMx_transferred
- openSUSE-SU-2014:1308 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 61654 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 61542 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.novell.com/support/kb/doc.php?id=7015701 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5096315 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 62312 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 59272 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBST03122 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- https://support.f5.com/kb/en-us/solutions/public/15000/600/sol15629.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- HPSBMU03217 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21685604 (opens in a new tab)x_refsource_CONFIRMx_transferred
- SSRT101868 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 61703 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://support.apple.com/kb/HT6495 (opens in a new tab)x_refsource_CONFIRMx_transferred
- VU#252743 (opens in a new tab)third-party-advisoryx_refsource_CERT-VNx_transferred
- 61065 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- SUSE-SU-2014:1213 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- HPSBST03129 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- HPSBMU03144 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21686445 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21686131 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 70103 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- JVNDB-2014-000126 (opens in a new tab)third-party-advisoryx_refsource_JVNDBx_transferred
- TA14-268A (opens in a new tab)third-party-advisoryx_refsource_CERTx_transferred
- SUSE-SU-2014:1212 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 61641 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10648 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://access.redhat.com/node/1200223 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://packetstormsecurity.com/files/137376/IPFire-Bash-Environment-Variable-Injection-Shellshock.html (opens in a new tab)x_refsource_MISCx_transferred
- SUSE-SU-2014:1287 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004898 (opens in a new tab)x_refsource_CONFIRMx_transferred
- APPLE-SA-2014-10-16-1 (opens in a new tab)vendor-advisoryx_refsource_APPLEx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21685914 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 20141001 FW: NEW VMSA-2014-0010 - VMware product updates address critical Bash security vulnerabilities (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- MDVSA-2015:164 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- RHSA-2014:1293 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04497075 (opens in a new tab)x_refsource_CONFIRMx_transferred
- openSUSE-SU-2014:1238 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- 60325 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://help.ecostruxureit.com/display/public/UADCO8x/StruxureWare+Data+Center+Operation+Software+Vulnerability+Fixes (opens in a new tab)x_refsource_CONFIRMx_transferred
- 60024 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://packetstormsecurity.com/files/128567/CA-Technologies-GNU-Bash-Shellshock.html (opens in a new tab)x_refsource_MISCx_transferred
- 34879 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- https://access.redhat.com/articles/1200223 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 62343 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 61565 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://www.suse.com/support/shellshock/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- HPSBST03157 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 61313 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 61873 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 61485 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 60947 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-c04518183 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://support.apple.com/kb/HT6535 (opens in a new tab)x_refsource_CONFIRMx_transferred
- HPSBST03154 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- HPSBST03265 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021272 (opens in a new tab)x_refsource_CONFIRMx_transferred
- HPSBGN03142 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 61312 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 60193 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.vmware.com/security/advisories/VMSA-2014-0010.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://linux.oracle.com/errata/ELSA-2014-1294.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- 60063 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://packetstormsecurity.com/files/128573/Apache-mod_cgi-Remote-Command-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
- 60034 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBMU03133 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://lcamtuf.blogspot.com/2014/09/quick-notes-about-bash-bug-its-impact.html (opens in a new tab)x_refsource_MISCx_transferred
- 59907 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 58200 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBST03181 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 61643 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www.novell.com/support/kb/doc.php?id=7015721 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21687079 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 61503 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21686246 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2014:1354 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 40938 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- HPSBGN03117 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://support.novell.com/security/cve/CVE-2014-6271.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004915 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 61547 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBHF03145 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://www.qnap.com/i/en/support/con_show.php?cid=61 (opens in a new tab)x_refsource_CONFIRMx_transferred
- HPSBST03148 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 61552 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 61780 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021279 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://support.citrix.com/article/CTX200223 (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-3032 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21686447 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 62228 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBGN03138 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 61855 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBHF03124 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 60044 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 61291 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- RHSA-2014:1294 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- HPSBHF03125 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 59737 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 61287 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- HPSBHF03146 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=1141597 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 61711 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021361 (opens in a new tab)x_refsource_CONFIRMx_transferred
- HPSBGN03141 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- http://advisories.mageia.org/MGASA-2014-0388.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- 61128 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://support.citrix.com/article/CTX200217 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 61471 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 60055 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20140926 GNU Bash Environmental Variable Command Injection Vulnerability (opens in a new tab)vendor-advisoryx_refsource_CISCOx_transferred
- 61550 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 61633 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://linux.oracle.com/errata/ELSA-2014-1293.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21686494 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://kb.bluecoat.com/index?page=content&id=SA82 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 61328 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=swg21685733 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 42938 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 61129 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 61700 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 61603 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 61857 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004879 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://packetstormsecurity.com/files/161107/SonicWall-SSL-VPN-Shellshock-Remote-Code-Execution.html (opens in a new tab)x_refsource_MISCx_transferred
- https://www.arista.com/en/support/advisories-notices/security-advisories/1008-security-advisory-0006 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-6271 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2014-6271)Record last updated .