CVE-2014-6271
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.
Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability |
|---|---|
| Vendor / product | GNU / Bourne-Again Shell (Bash) |
| Date added | 2022-01-28 |
| Federal remediation due date | 2022-07-28 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-02-07 |
Timeline
- 2014-09-24Published by the CNA18:00 UTC
- 2014-09-25First Exploit-DB entry (EDB-ID 34765)1 day after publication
- 2022-01-28Added to the CISA KEV catalog2683 days after publication
- 2025-02-07CISA SSVC decision recorded3789 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 42938 | remote | linux | 2017-10-02 | yes |
| EDB-ID 40938 | local | linux | 2016-12-18 | yes |
| EDB-ID 39918 | remote | cgi | 2016-06-10 | yes |
| EDB-ID 38849 | remote | cgi | 2015-12-02 | yes |
| EDB-ID 35115 | remote | linux | 2014-10-29 | yes |
Nuclei templates:
- CVE-2014-6271: ShellShock - Remote Code Execution
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| gnu bash | through 4.3no fix listed | not listed |
| apple mac_os_x | from 10.0.0 before 10.10.0fixed in 10.10.0 | 10.10.0 |
| arista eos | from 4.10.0 before 4.10.9fixed in 4.10.9from 4.11.0 before 4.11.11fixed in 4.11.11from 4.12.0 before 4.12.9fixed in 4.12.9from 4.13.0 before 4.13.9fixed in 4.13.9from 4.14.0 before 4.14.4ffixed in 4.14.4f(+1 more) | 4.10.94.11.114.12.94.13.94.14.4f |
| canonical ubuntu_linux | 10.04no fix listed12.04no fix listed14.04no fix listed | not listednot listednot listed |
| checkpoint security_gateway | ||
| citrix netscaler_sdx_firmware | from 10 before 10.1.129.11r1fixed in 10.1.129.11r1from 10.5 before 10.5.52.11r1fixed in 10.5.52.11r1before 9.3.67.5r1fixed in 9.3.67.5r1 | 10.1.129.11r110.5.52.11r19.3.67.5r1 |
| debian debian_linux | 7.0no fix listed | not listed |
| f5 arx_firmware | from 6.0.0 through 6.4.0no fix listed | not listed |
| f5 big-ip_access_policy_manager | from 10.1.0 through 10.2.4no fix listedfrom 11.0.0 through 11.5.1no fix listed11.6.0no fix listed | not listednot listednot listed |
| f5 big-ip_advanced_firewall_manager | from 11.3.0 through 11.5.1no fix listed11.6.0no fix listed | not listednot listed |
| f5 big-ip_analytics | from 11.0.0 through 11.5.1no fix listed11.6.0no fix listed | not listednot listed |
| f5 big-ip_application_acceleration_manager | from 11.4.0 through 11.5.1no fix listed11.6.0no fix listed | not listednot listed |
| f5 big-ip_application_security_manager | from 10.0.0 through 10.2.4no fix listedfrom 11.0.0 through 11.5.1no fix listed11.6.0no fix listed | not listednot listednot listed |
| f5 big-ip_edge_gateway | from 10.1.0 through 10.2.4no fix listedfrom 11.0.0 through 11.3.0no fix listed | not listednot listed |
| f5 big-ip_global_traffic_manager | from 10.0.0 through 10.2.4no fix listedfrom 11.0.0 through 11.5.1no fix listed11.6.0no fix listed | not listednot listednot listed |
| f5 big-ip_link_controller | from 10.0.0 through 10.2.4no fix listedfrom 11.0.0 through 11.5.1no fix listed11.6.0no fix listed | not listednot listednot listed |
| f5 big-ip_local_traffic_manager | from 10.0.0 through 10.2.4no fix listedfrom 11.0.0 through 11.5.1no fix listed11.6.0no fix listed | not listednot listednot listed |
| f5 big-ip_policy_enforcement_manager | from 11.3.0 through 11.5.1no fix listed11.6.0no fix listed | not listednot listed |
| f5 big-ip_protocol_security_module | from 10.0.0 through 10.2.4no fix listedfrom 11.0.0 through 11.4.1no fix listed | not listednot listed |
| f5 big-ip_wan_optimization_manager | from 10.0.0 through 10.2.4no fix listedfrom 11.0.0 through 11.3.0no fix listed | not listednot listed |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1141597
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0101.html
- http://jvn.jp/en/jp/JVN55667175/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2014-000126
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00028.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00029.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00034.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00037.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00040.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00044.html
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00049.html
- http://lists.opensuse.org/opensuse-security-announce/2014-10/msg00004.html
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00023.html
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00025.html
- http://marc.info/?l=bugtraq&m=141216207813411&w=2
- http://marc.info/?l=bugtraq&m=141216668515282&w=2
- http://marc.info/?l=bugtraq&m=141235957116749&w=2
- http://marc.info/?l=bugtraq&m=141319209015420&w=2
- http://marc.info/?l=bugtraq&m=141330425327438&w=2
- http://marc.info/?l=bugtraq&m=141330468527613&w=2
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2014-6271'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2014-6271'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2014-6271'curl 'https://api.contrastcyber.com/cve_products/CVE-2014-6271'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2014-6271'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).