CVE-2014-6278
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedGNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, which allows remote attackers to execute arbitrary commands 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, CVE-2014-7169, and CVE-2014-6277.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is an incomplete fix for the original Shellshock vulnerabilities (CVE-2014-6271, CVE-2014-7169, CVE-2014-6277). GNU Bash through version 4.3 bash43-026 fails to properly parse function definitions embedded within environment variable values, allowing remote attackers to execute arbitrary commands by setting crafted environment variables. Attack vectors include OpenSSH ForceCommand, Apache mod_cgi/mod_cgid modules, and DHCP client scripts where environment variables are set across privilege boundaries.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 1.14.0= 1.14.1= 1.14.2= 1.14.3= 1.14.4= 1.14.5= 1.14.6= 1.14.7= 2.0= 2.01= 2.01.1= 2.02CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check installed Bash versionRun `bash --version` and note the version number displayedAffected if The version is 1.14.0 through 1.14.7, 2.0, 2.01, 2.01.1, or 2.02
-
Test for function definition parsing vulnerabilityRun `env X='() { :;}; echo vulnerable' bash -c "echo test"` and observe outputAffected if The word 'vulnerable' appears in the output, indicating arbitrary command execution occurred
-
Verify vulnerable context: OpenSSH ForceCommandCheck SSH configuration in /etc/ssh/sshd_config for 'ForceCommand' directive or examine any scripts using 'ForceCommand'Affected if ForceCommand is configured and the system uses Bash as the shell
-
Verify vulnerable context: Apache mod_cgiCheck Apache configuration for 'mod_cgi' module enabled and any ScriptAlias or Script directives using CGI scripts that invoke BashAffected if mod_cgi is enabled and CGI scripts execute using Bash
-
Verify vulnerable context: DHCP clientExamine /etc/dhcp/dhclient-enter-hooks.d/ or check if the DHCP client script invokes BashAffected if DHCP client scripts are configured to run Bash hooks
A system is affected if Bash version is within the listed range AND the vulnerability test outputs 'vulnerable' AND the system exposes Bash through privileged contexts like SSH ForceCommand, Apache CGI, or DHCP clients.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Bash to a version newer than bash43-026 that contains the complete fix, or apply vendor-specific patches for this incomplete fix. Audit systems using Bash in privilege boundary contexts (SSH, CGI, DHCP clients) for exposure.
Bash 4.3 patch 28 or later (bash-4.3-028 and above)
- 1. Identify the current Bash version by running: bash --version
- 2. Check your distribution's package manager for available updates (e.g., yum check-update or apt-get update)
- 3. Apply the security update: On RHEL/CentOS/Fedora run: yum update bash On Debian/Ubuntu run: apt-get update && apt-get install bash
- 4. Verify the updated version includes the fix by checking: env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
- 5. If the command outputs 'vulnerable', the patch is not applied; if it outputs 'this is a test', the system is fixed
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2014-6278 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- lcamtuf.blogspot.com
- packetstormsecurity.com
- www.suse.com
- lcamtuf.blogspot.com
- jvn.jp
- jvndb.jvn.jp
- lcamtuf.blogspot.com
- linux.oracle.com
- linux.oracle.com
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- marc.info
- packetstormsecurity.com
- packetstormsecurity.com
- secunia.com
- support.novell.com
- tools.cisco.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-01.ibm.com
- www-947.ibm.com
- www.mandriva.com
- www.novell.com
- www.oracle.com
- www.qnap.com
- www.ubuntu.com
- www.vmware.com
- bugzilla.redhat.com
- kb.bluecoat.com
- kb.juniper.net
- kc.mcafee.com
- security-tracker.debian.org
- support.citrix.com
- support.citrix.com
- support.f5.com
- support.hpe.com
- support.hpe.com
- supportcenter.checkpoint.com
- www.arista.com
- www.exploit-db.com
- www.exploit-db.com
- lists.opensuse.org
- lists.opensuse.org
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- www.cisa.gov
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2014-6278 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data