10

CVE-2014-6271: GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability

CVSS: 10.0v2.0HighKEVAnalyzed
AliasesMGASA-2014-0388RHSA-2014:1293RHSA-2014:1294
Published 24-09-2014Last modified 22-10-2025
Some data may be incomplete
  • 1 reference with an unsupported link type was hidden.

Vulnerability summary

CVE-2014-6271 is a high (CVSS 10.0) OS Command Injection vulnerability in GNU Bourne-Again Shell (Bash). It is known to be exploited: CISA lists it, first on 28-01-2022. EPSS estimates a 100.00% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 39 public exploits are recorded.

Overall risk
90/100
0100
Critical · default modelHow is this calculated?
CVSS score
10.0/10
010
High · v2.0 (NVD)
EPSS score
100.00%
0%100%
Critical · 0.00 pp in 30 days
KEVListedCISA
RansomwareNone recordedNo known use recorded
Public exploits39reference, exploit-database, metasploit

Advisory lineage

Upstream 0 · Downstream 2 · Duplicates 3 · Related 1

Timeline

  1. 24-09-2014
    PublishedVulnerability first disclosed.
  2. 28-01-2022
    Added to CISA KEVGNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability
  3. 28-07-2022
    CISA remediation dueApply updates per vendor instructions.
  4. 22-10-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

100.00%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 100.00% on 18-09-2026

18-09-202618-10-2026
EPSS score
100.00%

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
28-01-2022
Federal due date
28-07-2022

CISA required action

Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2014-6271

Public exploits

39 found
  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (securityblog.redhat.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (access.redhat.com)

    Maturity: unknown

Show all 39 exploits
  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (access.redhat.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (lcamtuf.blogspot.com)

    Maturity: unknown

  • exploit-databaseremotecgiVerified

    Advantech Switch - 'Shellshock' Bash Environment Variable Command Injection (Metasploit)

    Maturity: weaponized

  • exploit-databaseremotecgiVerified

    GNU Bash - Environment Variable Command Injection (Metasploit)

    Maturity: weaponized

  • exploit-databaseremotecgiVerified

    IPFire - 'Shellshock' Bash Environment Variable Command Injection (Metasploit)

    Maturity: weaponized

  • exploit-databasecgiVerified

    Bash CGI - 'Shellshock' Remote Command Injection (Metasploit)

    Maturity: poc

  • exploit-databasecgiVerified

    IPFire - CGI Web Interface (Authenticated) Bash Environment Variable Code Injection

    Maturity: poc

  • exploit-databaseremotehardwareUnverified

    QNAP - Admin Shell via Bash Environment Variable Code Injection (Metasploit)

    Maturity: poc

  • exploit-databaseremotehardwareUnverified

    QNAP - Web Server Remote Code Execution via Bash Environment Variable Code Injection (Metasploit)

    Maturity: poc

  • exploit-databaseremotehardwareUnverified

    TrendMicro InterScan Web Security Virtual Appliance - 'Shellshock' Remote Command Injection

    Maturity: poc

  • exploit-databaselocallinuxVerified

    RedStar 3.0 Server - 'Shellshock' 'BEAM' / 'RSSMON' Command Injection

    Maturity: weaponized

  • exploit-databaseremotelinuxVerified

    Apache mod_cgi - 'Shellshock' Remote Command Injection

    Maturity: weaponized

  • exploit-databaseremotelinuxVerified

    Bash - 'Shellshock' Environment Variables Command Injection

    Maturity: weaponized

  • exploit-databaseremotelinuxVerified

    CUPS Filter - Bash Environment Variable Code Injection (Metasploit)

    Maturity: weaponized

  • exploit-databaseremotelinuxVerified

    GNU Bash - 'Shellshock' Environment Variable Command Injection

    Maturity: weaponized

  • exploit-databaseremotelinuxUnverified

    GNU bash 4.3.11 - Environment Variable dhclient

    Maturity: poc

  • exploit-databaseremotelinuxUnverified

    OpenVPN 2.2.29 - 'Shellshock' Remote Command Injection

    Maturity: poc

  • exploit-databaseremotelinuxVerified

    Postfix SMTP 4.2.x < 4.2.48 - 'Shellshock' Remote Command Injection

    Maturity: weaponized

  • exploit-databaseremotelinuxVerified

    Pure-FTPd - External Authentication Bash Environment Variable Code Injection (Metasploit)

    Maturity: weaponized

  • exploit-databaseremotelinuxVerified

    Qmail SMTP - Bash Environment Variable Injection (Metasploit)

    Maturity: weaponized

  • exploit-databasemultipleUnverified

    Cisco Unified Communications Manager - Multiple Vulnerabilities

    Maturity: poc

  • exploit-databasemultipleUnverified

    Kemp Load Master 7.1.16 - Multiple Vulnerabilities

    Maturity: poc

  • exploit-databasephpUnverified

    PHP < 5.6.2 - 'Shellshock' Safe Mode / disable_functions Bypass / Command Injection

    Maturity: poc

  • MetasploitMetasploitremoteUnverified

    Apache mod_cgi Bash Environment Variable Injection (Shellshock) Scanner

    auxiliary/scanner/http/apache_mod_cgi_bash_env

    Maturity: poc

  • MetasploitMetasploitremoteUnverified

    DHCP Client Bash Environment Variable Code Injection (Shellshock)

    auxiliary/server/dhclient_bash_env

    Maturity: poc

  • MetasploitMetasploitremoteVerified

    Advantech Switch Bash Environment Variable Code Injection (Shellshock)

    exploit/linux/http/advantech_switch_bash_env_exec

    Maturity: weaponized

  • MetasploitMetasploitremoteVerified

    IPFire Bash Environment Variable Injection (Shellshock)

    exploit/linux/http/ipfire_bashbug_exec

    Maturity: weaponized

  • MetasploitMetasploitremoteVerified

    Pure-FTPd External Authentication Bash Environment Variable Code Injection (Shellshock)

    exploit/multi/ftp/pureftpd_bash_env_exec

    Maturity: weaponized

  • MetasploitMetasploitremoteVerified

    Apache mod_cgi Bash Environment Variable Code Injection (Shellshock)

    exploit/multi/http/apache_mod_cgi_bash_env_exec

    Maturity: weaponized

  • MetasploitMetasploitremoteVerified

    CUPS Filter Bash Environment Variable Code Injection (Shellshock)

    exploit/multi/http/cups_bash_env_exec

    Maturity: weaponized

  • MetasploitMetasploitremoteUnverified

    OS X VMWare Fusion Privilege Escalation via Bash Environment Code Injection (Shellshock)

    exploit/osx/local/vmware_bash_function_root

    Maturity: poc

  • MetasploitMetasploitremoteVerified

    Dhclient Bash Environment Variable Injection (Shellshock)

    exploit/unix/dhcp/bash_environment

    Maturity: weaponized

  • MetasploitMetasploitremoteUnverified

    Qmail SMTP Bash Environment Variable Injection (Shellshock)

    exploit/unix/smtp/qmail_bash_env_exec

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Ibm22 products
  • flex_system_v7000_firmware≥ 1.1.0.0, < 7.1.0.11 | ≥ 7.2.0.0, < 7.2.0.9 | ≥ 7.3.0.0, < 7.3.0.7
  • infosphere_guardium_database_activity_monitoring8.2 | 9.0 | 9.1
  • pureapplication_system≥ 1.0.0.0, ≤ 1.0.0.4 | ≥ 1.1.0.0, ≤ 1.1.0.4 | 2.0.0.0
  • qradar_risk_manager7.1.0
  • qradar_security_information_and_event_manager7.1.0 | 7.1.0:mr1 | 7.1.0:mr2 | 7.1.1 | 7.1.1:p1 | 7.1.1:p2 | 7.1.1:p3 | 7.1.2 | 7.1.2:p1 | 7.1.2:p10 | 7.1.2:p11 | 7.1.2:p12 | 7.1.2:p13 | 7.1.2:p2 | 7.1.2:p3 | 7.1.2:p4 | 7.1.2:p5 | 7.1.2:p6 | 7.1.2:p7 | 7.1.2:p8 | 7.1.2:p9 | 7.2 | 7.2.0 | 7.2.0:p1 | 7.2.0:p2 | 7.2.0:p3 | 7.2.1 | 7.2.1:p1 | 7.2.1:p2 | 7.2.1:p3 | 7.2.2 | 7.2.2:p1 | 7.2.2:p2 | 7.2.2:p3 | 7.2.2:p4 | 7.2.3 | 7.2.3:p1 | 7.2.3:p2 | 7.2.3:p3 | 7.2.3:p4 | 7.2.4 | 7.2.4:p1 | 7.2.4:p2 | 7.2.4:p3 | 7.2.4:p4 | 7.2.4:p5 | 7.2.4:p6 | 7.2.5 | 7.2.5:p1 | 7.2.5:p2 | 7.2.5:p3 | 7.2.5:p4 | 7.2.5:p5 | 7.2.5:p6 | 7.2.6 | 7.2.6:p1 | 7.2.6:p2 | 7.2.6:p3 | 7.2.6:p4 | 7.2.6:p5 | 7.2.6:p6 | 7.2.6:p7 | 7.2.7 | 7.2.7:p1 | 7.2.7:p2 | 7.2.7:p3 | 7.2.7:p4 | 7.2.8 | 7.2.8:p1 | 7.2.8:p10 | 7.2.8:p11 | 7.2.8:p12 | 7.2.8:p13 | 7.2.8:p14 | 7.2.8:p15 | 7.2.8:p16 | 7.2.8:p2 | 7.2.8:p3 | 7.2.8:p4 | 7.2.8:p5 | 7.2.8:p6 | 7.2.8:p7 | 7.2.8:p8 | 7.2.8:p9 | 7.2.8.15 | 7.2.9
F519 products
Redhat17 products
Suse4 products
Mageia3 products
  • bash< 4.2-48.1.mga3
  • bash< 4.2-48.1.mga4
  • mageiaEOL3.0 | 4.0
Debian2 products
  • bash< 4.3-9.1 | < 4.1-3+deb6u1 | < 4.2+dfsg-0.1+deb7u1
  • debian_linuxEOL7.0
Novell2 products
Vmware2 products
Apple1 product
Arista1 product
  • eos≥ 4.9.0, < 4.9.12 | ≥ 4.10.0, < 4.10.9 | ≥ 4.11.0, < 4.11.11 | ≥ 4.12.0, < 4.12.9 | ≥ 4.13.0, < 4.13.9 | ≥ 4.14.0, < 4.14.4f
Canonical1 product
Checkpoint1 product
Citrix1 product
Gnu1 product
Opensuse1 product
Oracle1 product
Qnap1 product
  • qts< 4.1.1 | 4.1.1 | 4.1.1:build_0927
Ubuntu1 product
  • bash< 4.3-7ubuntu1.1

18 vendors · 81 products

References

190 links
Show all 100 references

Showing 100 of 190. Use Open JSON for the complete list.