CVE-2014-6277
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 code or cause a denial of service (uninitialized memory access, and untrusted-pointer read and write operations) 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 and CVE-2014-7169.
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 confidenceA remote code execution vulnerability in GNU Bash (through 4.3 bash43-026) where function definitions embedded in environment variables are improperly parsed during bash startup, allowing attackers to execute arbitrary commands. This variant exists due to incomplete fixes for the original Shellshock vulnerabilities (CVE-2014-6271, CVE-2014-7169), and can also cause denial of service via uninitialized memory access and untrusted pointer operations.
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
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
AV:N/AC:L/Au:N/C:C/I:C/A:C
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.
-
Determine 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, or falls within 1.14.x through 4.3 bash43-026 (the vulnerable range)
-
Check if Bash parses function definitions from environment variablesExport a test function definition as an environment variable (e.g., `export TEST_FUNC='() { echo vulnerable; }'`) then execute a new bash shell and observe if the function is defined (run `bash -c 'declare -f TEST_FUNC'`). Alternatively, test by setting an environment variable with a malicious function payload and checking if it executes on bash startup.Affected if Environment variables containing function definitions are parsed and the functions become available in child shells, indicating the vulnerability is present
-
Identify services that pass environment variables to BashReview configuration for services that invoke Bash and accept external input: OpenSSH (ForceCommand, PermitUserEnvironment), HTTP servers with CGI scripts (Apache mod_cgi/mod_cgid), DHCP clients, or any custom application that spawns Bash shells with inherited environment variables.Affected if Any service or application passes unsanitized environment variables to Bash processes, creating a potential attack vector for CVE-2014-6277
-
Test for incomplete Shellshock patchesRun known Shellshock test commands: `env X='() { :; }; echo VULNERABLE' bash -c 'echo test'` for CVE-2014-6271 and `env X='() { (a)=>\' bash -c 'echo date'` for CVE-2014-7169. If either test produces unexpected output (VULNERABLE printed, or file creation error), patches are incomplete and CVE-2014-6277 may also be present.Affected if Any Shellshock test reveals the vulnerability, indicating the patch is incomplete and this CVE likely applies
A system is affected if Bash version is within 1.14.0 to 4.3 bash43-026 AND the system runs services or scripts that pass environment variables to Bash without sanitization.
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 beyond bash43-026 that contains the complete fix, or apply vendor-specific patches. Additionally, restrict or sanitize environment variables passed across privilege boundaries in affected services (OpenSSH ForceCommand, Apache mod_cgi/mod_cgid, DHCP clients).
Bash 4.3 patch level 026 or later, or ideally Bash 5.x (current stable release)
- 1. Identify the current Bash version installed on the system by running: `bash --version`
- 2. Upgrade Bash to a version that includes the complete fix for Shellshock vulnerabilities (CVE-2014-6271, CVE-2014-6277, CVE-2014-7169)
- 3. For RHEL/CentOS systems, run: `yum update bash` or `sudo yum install bash`
- 4. For Debian/Ubuntu systems, run: `sudo apt-get update && sudo apt-get install bash`
- 5. For Oracle Linux, use the Oracle Linux yum server or ULN with the appropriate security patches
- 6. After upgrade, verify the version is 4.3 or later with the patches applied: `env X='() { :;}; echo vulnerable' bash -c "echo this is test"` - should not print 'vulnerable'
- 7. Restart any critical services that spawn Bash shells to ensure the updated version is used
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation8.0 h
- Implementation12.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $8,608.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2014-6277 — 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
- lcamtuf.blogspot.com
- lcamtuf.blogspot.com
- jvn.jp
- jvndb.jvn.jp
- lcamtuf.blogspot.com
- linux.oracle.com
- linux.oracle.com
- lists.apple.com
- lists.apple.com
- lists.opensuse.org
- lists.opensuse.org
- 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
- marc.info
- packetstormsecurity.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
- secunia.com
- secunia.com
- support.apple.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
- kb.bluecoat.com
- kb.juniper.net
- kc.mcafee.com
- support.apple.com
- support.citrix.com
- support.citrix.com
- support.f5.com
- support.hpe.com
- support.hpe.com
- supportcenter.checkpoint.com
- www.suse.com
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2014-6277 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