CVE-2014-6277 (Shellshock) gnu bash: OS Command Injection
Known as Shellshock
gnu bash: no CVSS score yet. EPSS 64% estimated probability of exploitation activity in the next 30 days.
On this page
- EPSS
- 64% (unchanged from 64% a week ago; 64% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian, Ubuntu, SUSE, openSUSE: fixed package versions per release
- Patch: http://lcamtuf.blogspot.com/2014/09/bash-bug-apply-unofficial-patch-now.html
Ask an AI about this CVE
Show the prompt
Explain CVE-2014-6277 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2014-6277?via=ask-ai-copy and https://cve.bz/cve/CVE-2014-6277?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2014-6277 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| gnu:bash | 1.14.0 |
| gnu:bash | 1.14.1 |
| gnu:bash | 1.14.2 |
| gnu:bash | 1.14.3 |
| gnu:bash | 1.14.4 |
| gnu:bash | 1.14.5 |
| gnu:bash | 1.14.6 |
| gnu:bash | 1.14.7 |
| gnu:bash | 2.0 |
| gnu:bash | 2.01 |
| gnu:bash | 2.01.1 |
| gnu:bash | 2.02 |
| gnu:bash | 2.02.1 |
| gnu:bash | 2.03 |
| gnu:bash | 2.04 |
| gnu:bash | 2.05 |
| gnu:bash | 2.05:a |
| gnu:bash | 2.05:b |
| gnu:bash | 3.0 |
| gnu:bash | 3.0.16 |
| gnu:bash | 3.1 |
| gnu:bash | 3.2 |
| gnu:bash | 3.2.48 |
| gnu:bash | 4.0 |
| gnu:bash | 4.0:rc1 |
| gnu:bash | 4.1 |
| gnu:bash | 4.2 |
| gnu:bash | 4.3 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | bash | 4.3-9.2 | DEBIAN-CVE-2014-6277 |
| Ubuntu | 14.04:LTS | bash | 4.3-7ubuntu1.5 | UBUNTU-CVE-2014-6277 USN-2380-1 |
| SUSE | Linux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 SP1, Linux Enterprise Server for SAP Applications 12 SP1 and 2 more | bash | 4.2-82.1 | SUSE-SU-2016:2872-1 |
| openSUSE | Tumbleweed | bash | 7.0-92.1 | openSUSE-SU-2024:10106-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
Red Hat
Red Hat no longer considers this bug to be a security issue. The change introduced in bash errata RHSA-2014:1306, RHSA-2014:1311 and RHSA-2014:1312 removed the exposure of the bash parser to untrusted input, mitigating this problem to a bug without security impact.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | bash | Not affected | |
| Red Hat Enterprise Linux 5 | bash | Not affected | |
| Red Hat Enterprise Linux 6 | bash | Not affected | |
| Red Hat Enterprise Linux 7 | bash | Not affected | |
| Red Hat Enterprise Virtualization 3 | rhev-hypervisor | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2014-6277.
Public exploits
- Exploit-DB Binary File Descriptor Library (libbfd) - Out-of-Bounds Crash
- Exploit-DB GNU bash 4.3.11 - Environment Variable dhclient
- Exploit-DB dhclient 4.1 - Bash Environment Variable Command Injection (Shellshock)
Detection rules
Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.
- Snort community rules OS-OTHER Bash CGI environment variable injection attempt sid 31975
- Snort community rules OS-OTHER Bash CGI environment variable injection attempt sid 31976
- Snort community rules OS-OTHER Bash CGI environment variable injection attempt sid 31977
- Snort community rules OS-OTHER Bash CGI environment variable injection attempt sid 31978
- Snort community rules OS-OTHER Malicious DHCP server bash environment variable injection attempt sid 31985
- Snort community rules OS-OTHER Bash environment variable injection attempt sid 32038
- Snort community rules OS-OTHER Bash environment variable injection attempt sid 32039
- Snort community rules OS-OTHER Bash environment variable injection attempt sid 32041
- Snort community rules OS-OTHER Bash environment variable injection attempt sid 32042
- Snort community rules OS-OTHER Bash environment variable injection attempt sid 32043
- Snort community rules OS-OTHER Bash environment variable injection attempt sid 32069
- Snort community rules OS-OTHER Bash CGI environment variable injection attempt sid 32335
- Snort community rules OS-OTHER Bash CGI environment variable injection attempt sid 32336
- Snort community rules OS-OTHER Bash environment variable injection attempt sid 32366
Attack patterns (CAPEC)
- CAPEC-6 Argument Injection Likelihood: High · Severity: High
- CAPEC-15 Command Delimiters Likelihood: High · Severity: High
- CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
- CAPEC-88 OS Command Injection Likelihood: High · Severity: High
- CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://lcamtuf.blogspot.com/2014/09/bash-bug-apply-unofficial-patch-now.html
- http://jvn.jp/en/jp/JVN55667175/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2014-000126
- http://lcamtuf.blogspot.com/2014/10/bash-bug-how-we-finally-cracked.html
- http://linux.oracle.com/errata/ELSA-2014-3093
- http://linux.oracle.com/errata/ELSA-2014-3094
- http://lists.apple.com/archives/security-announce/2015/Jan/msg00003.html
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- http://lists.opensuse.org/opensuse-security-announce/2014-10/msg00004.html
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00025.html
- http://marc.info/?l=bugtraq&m=141330468527613&w=2
- http://marc.info/?l=bugtraq&m=141345648114150&w=2
- http://marc.info/?l=bugtraq&m=141383026420882&w=2
- http://marc.info/?l=bugtraq&m=141383081521087&w=2
- http://marc.info/?l=bugtraq&m=141383196021590&w=2
- http://marc.info/?l=bugtraq&m=141383244821813&w=2
- http://marc.info/?l=bugtraq&m=141383304022067&w=2
- http://marc.info/?l=bugtraq&m=141383353622268&w=2
- http://marc.info/?l=bugtraq&m=141383465822787&w=2
- http://marc.info/?l=bugtraq&m=141450491804793&w=2
- http://marc.info/?l=bugtraq&m=141576728022234&w=2
- http://marc.info/?l=bugtraq&m=141577137423233&w=2
- http://marc.info/?l=bugtraq&m=141577241923505&w=2
- http://marc.info/?l=bugtraq&m=141577297623641&w=2
- http://marc.info/?l=bugtraq&m=141585637922673&w=2
- http://marc.info/?l=bugtraq&m=141879528318582&w=2
- http://marc.info/?l=bugtraq&m=142118135300698&w=2
- http://marc.info/?l=bugtraq&m=142289270617409&w=2
- http://marc.info/?l=bugtraq&m=142358026505815&w=2
- http://marc.info/?l=bugtraq&m=142358078406056&w=2
- http://marc.info/?l=bugtraq&m=142721162228379&w=2
- http://packetstormsecurity.com/files/128567/CA-Technologies-GNU-Bash-Shellshock.html
- http://secunia.com/advisories/58200
- http://secunia.com/advisories/59907
- http://secunia.com/advisories/59961
- http://secunia.com/advisories/60024
- http://secunia.com/advisories/60034
- http://secunia.com/advisories/60044
- http://secunia.com/advisories/60055
- http://secunia.com/advisories/60063
- http://secunia.com/advisories/60193
- http://secunia.com/advisories/60325
- http://secunia.com/advisories/60433
- http://secunia.com/advisories/61065
- http://secunia.com/advisories/61128
- http://secunia.com/advisories/61129
- http://secunia.com/advisories/61283
- http://secunia.com/advisories/61287
- http://secunia.com/advisories/61291
- http://secunia.com/advisories/61312
- http://secunia.com/advisories/61313
- http://secunia.com/advisories/61328
- http://secunia.com/advisories/61442
- http://secunia.com/advisories/61471
- http://secunia.com/advisories/61485
- http://secunia.com/advisories/61503
- http://secunia.com/advisories/61550
- http://secunia.com/advisories/61552
- http://secunia.com/advisories/61565
- http://secunia.com/advisories/61603
- http://secunia.com/advisories/61633
- http://secunia.com/advisories/61641
- http://secunia.com/advisories/61643
- http://secunia.com/advisories/61654
- http://secunia.com/advisories/61703
- http://secunia.com/advisories/61780
- http://secunia.com/advisories/61816
- http://secunia.com/advisories/61857
- http://secunia.com/advisories/62312
- http://secunia.com/advisories/62343
- http://support.apple.com/HT204244
- http://support.novell.com/security/cve/CVE-2014-6277.html
- http://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20140926-bash
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021272
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021279
- http://www-01.ibm.com/support/docview.wss?uid=isg3T1021361
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004879
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004897
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004898
- http://www-01.ibm.com/support/docview.wss?uid=ssg1S1004915
- http://www-01.ibm.com/support/docview.wss?uid=swg21685541
- http://www-01.ibm.com/support/docview.wss?uid=swg21685604
- http://www-01.ibm.com/support/docview.wss?uid=swg21685733
- http://www-01.ibm.com/support/docview.wss?uid=swg21685749
- http://www-01.ibm.com/support/docview.wss?uid=swg21685914
- http://www-01.ibm.com/support/docview.wss?uid=swg21686131
- http://www-01.ibm.com/support/docview.wss?uid=swg21686246
- http://www-01.ibm.com/support/docview.wss?uid=swg21686445
- http://www-01.ibm.com/support/docview.wss?uid=swg21686479
- http://www-01.ibm.com/support/docview.wss?uid=swg21686494
- http://www-01.ibm.com/support/docview.wss?uid=swg21687079
- http://www-947.ibm.com/support/entry/portal/docdisplay?lndocid=MIGR-5096315
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:164
- http://www.novell.com/support/kb/doc.php?id=7015721
- http://www.oracle.com/technetwork/topics/security/bashcve-2014-7169-2317675.html
- http://www.qnap.com/i/en/support/con_show.php?cid=61
- http://www.ubuntu.com/usn/USN-2380-1
- http://www.vmware.com/security/advisories/VMSA-2014-0010.html
- https://kb.bluecoat.com/index?page=content&id=SA82
- https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10648