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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | bash | 4.3-9.2 | — |
| Debian 13 | bash | 4.3-9.2 | — |
| Debian 12 | bash | 4.3-9.2 | — |
| Debian 7 | bash | 4.2+dfsg-0.1+deb7u3 | DSA-3035-1 |
| Debian 6.0 | bash | 4.1-3+deb6u2 | DLA-63-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | bash | 4.3-7ubuntu1.3 | USN-2363-2, USN-2363-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | bash +1 | 4.2.45-5.el7_0.4 | RHSA-2014:1306 |
| RHEL 6 | bash +1 | 4.1.2-15.el6_5.2 | RHSA-2014:1306 |
| RHEL 5 | bash | 3.2-33.el5_11.4 | RHSA-2014:1306 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Rhev Manager 3 | rhev-hypervisor6 | 6.5-20140930.1.el6ev | RHSA-2014:1354 |
| Red Hat Rhel Sjis 6 | bash +1 | 4.1.2-15.el6_5.1.sjis.2 | RHSA-2014:1312 |
| Red Hat Rhel Sjis 5 | bash | 3.2-32.el5_9.3.sjis.1 | RHSA-2014:1865, RHSA-2014:1312 |
| Red Hat Rhel Mission Critical 6 | bash +1 | 4.1.2-9.el6_2.2 | RHSA-2014:1311 |
| Red Hat Rhel Mission Critical 5 | bash | 3.2-24.el5_6.2 | RHSA-2014:1311 |
| RHEL 6.4 EUS | bash +1 | 4.1.2-15.el6_4.2 | RHSA-2014:1311 |
| RHEL 5.9 EUS | bash | 3.2-32.el5_9.3 | RHSA-2014:1311 |
| RHEL 4 ELS | bash | 3.0-27.el4.4 | RHSA-2014:1311 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | bash | 7.0-92.1 | openSUSE-SU-2024:10106-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | bash +1 | 4.2.45-5.el7_0.2.0.1 | ELSA-2014-3076, ELSA-2014-1306 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 15
- Kemp Load Master 7.1.16 - Multiple Vulnerabilities EDB-36609 · webapps · Apr 2, 2015
- QNAP - Admin Shell via Bash Environment Variable Code Injection (Metasploit) EDB-36503 · remote · Mar 26, 2015
- QNAP - Web Server Remote Code Execution via Bash Environment Variable Code Injection (Metasploit) EDB-36504 · remote · Mar 26, 2015
- PHP < 5.6.2 - 'Shellshock' Safe Mode / disable_functions Bypass / Command Injection EDB-35146 · webapps · Nov 3, 2014
- CUPS Filter - Bash Environment Variable Code Injection (Metasploit) EDB-35115 · remote · Oct 29, 2014 · verified
- Bash CGI - 'Shellshock' Remote Command Injection (Metasploit) EDB-34895 · webapps · Oct 6, 2014 · verified
- Postfix SMTP 4.2.x < 4.2.48 - 'Shellshock' Remote Command Injection EDB-34896 · remote · Oct 6, 2014 · verified
- OpenVPN 2.2.29 - 'Shellshock' Remote Command Injection EDB-34879 · remote · Oct 4, 2014
- GNU bash 4.3.11 - Environment Variable dhclient EDB-34860 · remote · Oct 2, 2014
- Pure-FTPd - External Authentication Bash Environment Variable Code Injection (Metasploit) EDB-34862 · remote · Oct 2, 2014 · verified
- IPFire - CGI Web Interface (Authenticated) Bash Environment Variable Code Injection EDB-34839 · webapps · Oct 1, 2014 · verified
- dhclient 4.1 - Bash Environment Variable Command Injection (Shellshock) EDB-36933 · remote · Sep 29, 2014 · verified
- GNU Bash - 'Shellshock' Environment Variable Command Injection EDB-34765 · remote · Sep 25, 2014 · verified
- Bash - 'Shellshock' Environment Variables Command Injection EDB-34766 · remote · Sep 25, 2014 · verified
- GNU Bash - Environment Variable Command Injection (Metasploit) EDB-34777 · remote · Sep 25, 2014 · verified
GitHub 4 repositories
-
chef-boneyard/bash-shellshock ★ 5 · Oct 31, 2014
DEPRECATED: Chef cookbook to audit & remediate "Shellshock" (BASH-CVE-2014-7169)
-
Gobinath-B/SHELL-SCHOCK ★ 1 · Jul 24, 2022
CVE-2014-7169 Shell Shock
-
Kushiro45/shellshock-poc-cve-2014-7169 ★ 0 · Jul 14, 2026
This contains the Dockerfile for building and reproduing shellshock
-
gina-alaska/bash-cve-2014-7169-cookbook ★ 0 · Sep 30, 2015
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 12
- RHSA-2014:1354 Red Hat Security Advisory: rhev-hypervisor6 security update Red Hat Security Advisories (RHSA) · Jul 29, 2026
- RHSA-2014:1865 Red Hat Security Advisory: bash Shift_JIS security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1312 Red Hat Security Advisory: bash Shift_JIS security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1311 Red Hat Security Advisory: bash security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1306 Red Hat Security Advisory: bash security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- DLA-63-1 bash - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3035-1 bash - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2363-1 bash vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-2363-2 bash vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2024:10106-1 bash-4.4-92.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2014-3076 Critical: bash security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Sep 25, 2014
- ELSA-2014-1306 Important: bash security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Sep 25, 2014
References
- http://packetstormsecurity.com/files/128517/VMware-Security-Advisory-2014-0010.html
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897
- http://www-01.ibm.com/support/docview.wss?uid=swg21685749
- [oss-security] 20140924 Re: CVE-2014-6271: remote code execution through bash mailing-list
- HPSBMU03165 vendor-advisory
- HPSBHF03119 vendor-advisory
- https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk102673&src=securityAlerts
- HPSBST03131 vendor-advisory
- SSRT101819 vendor-advisory
- 20141001 NEW VMSA-2014-0010 - VMware product updates address critical Bash security vulnerabilities mailing-list
- HPSBMU03245 vendor-advisory
- openSUSE-SU-2014:1229 vendor-advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686084
- http://www-01.ibm.com/support/docview.wss?uid=swg21686479
- 61188 third-party-advisory
- JVN#55667175 third-party-advisory
- 61676 third-party-advisory
- openSUSE-SU-2014:1254 vendor-advisory
- 60433 third-party-advisory
- HPSBMU03143 vendor-advisory
- HPSBMU03182 vendor-advisory
- RHSA-2014:1306 vendor-advisory
- HPSBST03155 vendor-advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21685541
- 61715 third-party-advisory
- USN-2363-2 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/bashcve-2014-7169-2317675.html
- 61816 third-party-advisory
- openSUSE-SU-2014:1310 vendor-advisory
- 61442 third-party-advisory
- HPSBMU03246 vendor-advisory
- HPSBST03195 vendor-advisory
- 61283 third-party-advisory
- SSRT101711 vendor-advisory
- https://kc.mcafee.com/corporate/index?page=content&id=SB10085
- openSUSE-SU-2014:1308 vendor-advisory
- 61654 third-party-advisory
- http://www.novell.com/support/kb/doc.php?id=7015701
- http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5096315
- 62312 third-party-advisory
- 59272 third-party-advisory
- HPSBST03122 vendor-advisory
- https://support.f5.com/kb/en-us/solutions/public/15000/600/sol15629.html
- HPSBMU03217 vendor-advisory
- RHSA-2014:1312 vendor-advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21685604
- USN-2363-1 vendor-advisory
- SSRT101868 vendor-advisory
- 61703 third-party-advisory
- http://support.apple.com/kb/HT6495
- VU#252743 third-party-advisory
- 61065 third-party-advisory
- http://linux.oracle.com/errata/ELSA-2014-3075.html
- HPSBST03129 vendor-advisory
- HPSBMU03144 vendor-advisory
- http://www-01.ibm.com/support/docview.wss?uid=swg21686445
- http://support.novell.com/security/cve/CVE-2014-7169.html
- http://www-01.ibm.com/support/docview.wss?uid=swg21686131
- JVNDB-2014-000126 third-party-advisory
- TA14-268A third-party-advisory