CVE-2014-6271
CONFIRMED EXPLOITEDGNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability
Is GNU Bourne-Again Shell (Bash) affected by CVE-2014-6271?
GNU Bourne-Again Shell (Bash) is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2014-6271, added on 2022-01-28. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (40 vulnerable CPE entries): arista eos, gnu bash, mageia mageia, oracle linux, qnap qts and redhat enterprise_linux and 5 further CPE product entries.
Published CPE version bounds mark releases below 4.14.4f as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2022-07-28.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2014-7169Same productGNU Bourne-Again Shell (Bash)
GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability
- CVE-2026-24061Same vendorGNU InetUtils
GNU InetUtils Argument Injection Vulnerability
- CVE-2014-6278Same vendorGNU GNU Bash
GNU Bash OS Command Injection Vulnerability
- CVE-2023-4911Same vendorGNU GNU C Library
GNU C Library Buffer Overflow Vulnerability
- CVE-2014-1776Neighboring entryMicrosoft Internet Explorer
Microsoft Internet Explorer Memory Corruption Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which allows remote attackers to execute code.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-01-28. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Bourne-Again Shell (Bash) has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- SSH daemon surface (GNU Bourne-Again Shell (Bash)): inspect SSH authentication and session logs (`/var/log/auth.log`, `/var/log/secure`, `journalctl -u sshd`) alongside network metadata (`Zeek ssh.log`, `conn.log`, Suricata SSH signatures) for repeated pre-auth handshakes, unexpected authentication status returns, or anomalous session establishment on TCP :22.
- Audit SSH exposure (`ss -tulpn`) and enforce connection throttling (`MaxStartups`, `PerSourceMaxStartups`), key-based authentication, or private WireGuard tunnel access.
- Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
- Inventory all hosts running GNU Bourne-Again Shell (Bash) and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://advisories.mageia.org/MGASA-2014-0388.htmlThird Party Advisory
- http://archives.neohapsis.com/archives/bugtraq/2014-10/0101.htmlBroken LinkThird Party Advisory
- http://jvn.jp/en/jp/JVN55667175/index.htmlVendor Advisory
- http://jvndb.jvn.jp/jvndb/JVNDB-2014-000126Third Party AdvisoryVDB EntryVendor Advisory
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673Third Party Advisory
- http://lcamtuf.blogspot.com/2014/09/quick-notes-about-bash-bug-its-impact.htmlExploitIssue TrackingThird Party Advisory
- http://linux.oracle.com/errata/ELSA-2014-1293.htmlThird Party Advisory
- http://linux.oracle.com/errata/ELSA-2014-1294.htmlThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00028.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00029.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00034.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00037.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00040.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00044.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00049.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2014-10/msg00004.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00023.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00025.htmlMailing ListThird Party Advisory
- http://marc.info/?l=bugtraq&m=141216207813411&w=2Mailing ListThird Party Advisory
- http://marc.info/?l=bugtraq&m=141216668515282&w=2Mailing ListThird Party Advisory
- http://marc.info/?l=bugtraq&m=141235957116749&w=2Mailing ListThird Party Advisory
- http://marc.info/?l=bugtraq&m=141319209015420&w=2Mailing ListThird Party Advisory
- http://marc.info/?l=bugtraq&m=141330425327438&w=2Mailing ListThird Party Advisory
- http://marc.info/?l=bugtraq&m=141330468527613&w=2Mailing ListThird Party Advisory
- http://marc.info/?l=bugtraq&m=141345648114150&w=2Mailing ListThird Party Advisory
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting