{
    "id": "CVE-2014-6271",
    "published": "2014-09-24 18:48:04",
    "last_modified": "2026-06-17 00:12:48",
    "cvss_score": "9.8",
    "cvss_severity": "CRITICAL",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "cwe": "CWE-78",
    "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.",
    "epss_score": "0.99999",
    "epss_percentile": "0.99993",
    "kev": 1,
    "kev_due": "2022-07-28",
    "has_exploit": 1,
    "updated_at": "2026-09-26 18:19:32",
    "priority": {
        "rank": 1,
        "label": "Patch first",
        "why": "On CISA KEV — known exploited in the wild, due 2022-07-28."
    },
    "products": [
        {
            "vendor": "arista",
            "product": "eos"
        },
        {
            "vendor": "debian",
            "product": "debian_linux"
        },
        {
            "vendor": "gnu",
            "product": "bash"
        },
        {
            "vendor": "ibm",
            "product": "infosphere_guardium_database_activity_monitoring"
        },
        {
            "vendor": "ibm",
            "product": "pureapplication_system"
        },
        {
            "vendor": "ibm",
            "product": "qradar_risk_manager"
        },
        {
            "vendor": "ibm",
            "product": "qradar_security_information_and_event_manager"
        },
        {
            "vendor": "ibm",
            "product": "qradar_vulnerability_manager"
        },
        {
            "vendor": "ibm",
            "product": "security_access_manager_for_mobile_8.0_firmware"
        },
        {
            "vendor": "ibm",
            "product": "security_access_manager_for_web_7.0_firmware"
        },
        {
            "vendor": "ibm",
            "product": "security_access_manager_for_web_8.0_firmware"
        },
        {
            "vendor": "ibm",
            "product": "smartcloud_entry_appliance"
        },
        {
            "vendor": "ibm",
            "product": "smartcloud_provisioning"
        },
        {
            "vendor": "ibm",
            "product": "software_defined_network_for_virtual_environments"
        },
        {
            "vendor": "ibm",
            "product": "starter_kit_for_cloud"
        },
        {
            "vendor": "ibm",
            "product": "storwize_v7000"
        },
        {
            "vendor": "ibm",
            "product": "storwize_v7000_firmware"
        },
        {
            "vendor": "ibm",
            "product": "workload_deployer"
        },
        {
            "vendor": "mageia",
            "product": "mageia"
        },
        {
            "vendor": "opensuse",
            "product": "opensuse"
        },
        {
            "vendor": "oracle",
            "product": "linux"
        },
        {
            "vendor": "qnap",
            "product": "qts"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_desktop"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_eus"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_for_ibm_z_systems"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_for_power_big_endian"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_for_power_big_endian_eus"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_for_scientific_computing"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_server"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_server_aus"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_server_from_rhui"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_server_tus"
        },
        {
            "vendor": "redhat",
            "product": "enterprise_linux_workstation"
        },
        {
            "vendor": "redhat",
            "product": "gluster_storage_server_for_on-premise"
        },
        {
            "vendor": "redhat",
            "product": "virtualization"
        },
        {
            "vendor": "suse",
            "product": "linux_enterprise_desktop"
        },
        {
            "vendor": "suse",
            "product": "linux_enterprise_server"
        },
        {
            "vendor": "suse",
            "product": "linux_enterprise_software_development_kit"
        },
        {
            "vendor": "suse",
            "product": "studio_onsite"
        }
    ],
    "kev_detail": {
        "cve_id": "CVE-2014-6271",
        "date_added": "2022-01-28",
        "due_date": "2022-07-28",
        "vendor": "GNU",
        "product": "Bourne-Again Shell (Bash)",
        "name": "GNU Bourne-Again Shell (Bash) Arbitrary Code Execution Vulnerability",
        "ransomware": 0
    },
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "42938",
            "title": "Qmail SMTP - Bash Environment Variable Injection (Metasploit)",
            "date": "2017-10-02",
            "url": "https://www.exploit-db.com/exploits/42938"
        },
        {
            "source": "exploit-db",
            "ref_id": "40938",
            "title": "RedStar 3.0 Server - 'Shellshock' 'BEAM' / 'RSSMON' Command Injection",
            "date": "2016-12-18",
            "url": "https://www.exploit-db.com/exploits/40938"
        },
        {
            "source": "exploit-db",
            "ref_id": "40619",
            "title": "TrendMicro InterScan Web Security Virtual Appliance - 'Shellshock' Remote Command Injection",
            "date": "2016-10-21",
            "url": "https://www.exploit-db.com/exploits/40619"
        },
        {
            "source": "exploit-db",
            "ref_id": "39918",
            "title": "IPFire - 'Shellshock' Bash Environment Variable Command Injection (Metasploit)",
            "date": "2016-06-10",
            "url": "https://www.exploit-db.com/exploits/39918"
        },
        {
            "source": "exploit-db",
            "ref_id": "38849",
            "title": "Advantech Switch - 'Shellshock' Bash Environment Variable Command Injection (Metasploit)",
            "date": "2015-12-02",
            "url": "https://www.exploit-db.com/exploits/38849"
        },
        {
            "source": "exploit-db",
            "ref_id": "37816",
            "title": "Cisco Unified Communications Manager - Multiple Vulnerabilities",
            "date": "2015-08-18",
            "url": "https://www.exploit-db.com/exploits/37816"
        },
        {
            "source": "exploit-db",
            "ref_id": "36609",
            "title": "Kemp Load Master 7.1.16 - Multiple Vulnerabilities",
            "date": "2015-04-02",
            "url": "https://www.exploit-db.com/exploits/36609"
        },
        {
            "source": "exploit-db",
            "ref_id": "36504",
            "title": "QNAP - Web Server Remote Code Execution via Bash Environment Variable Code Injection (Metasploit)",
            "date": "2015-03-26",
            "url": "https://www.exploit-db.com/exploits/36504"
        },
        {
            "source": "exploit-db",
            "ref_id": "36503",
            "title": "QNAP - Admin Shell via Bash Environment Variable Code Injection (Metasploit)",
            "date": "2015-03-26",
            "url": "https://www.exploit-db.com/exploits/36503"
        },
        {
            "source": "exploit-db",
            "ref_id": "35146",
            "title": "PHP < 5.6.2 - 'Shellshock' Safe Mode / disable_functions Bypass / Command Injection",
            "date": "2014-11-03",
            "url": "https://www.exploit-db.com/exploits/35146"
        },
        {
            "source": "exploit-db",
            "ref_id": "35115",
            "title": "CUPS Filter - Bash Environment Variable Code Injection (Metasploit)",
            "date": "2014-10-29",
            "url": "https://www.exploit-db.com/exploits/35115"
        },
        {
            "source": "exploit-db",
            "ref_id": "34900",
            "title": "Apache mod_cgi - 'Shellshock' Remote Command Injection",
            "date": "2014-10-06",
            "url": "https://www.exploit-db.com/exploits/34900"
        },
        {
            "source": "exploit-db",
            "ref_id": "34896",
            "title": "Postfix SMTP 4.2.x < 4.2.48 - 'Shellshock' Remote Command Injection",
            "date": "2014-10-06",
            "url": "https://www.exploit-db.com/exploits/34896"
        },
        {
            "source": "exploit-db",
            "ref_id": "34895",
            "title": "Bash CGI - 'Shellshock' Remote Command Injection (Metasploit)",
            "date": "2014-10-06",
            "url": "https://www.exploit-db.com/exploits/34895"
        },
        {
            "source": "exploit-db",
            "ref_id": "34879",
            "title": "OpenVPN 2.2.29 - 'Shellshock' Remote Command Injection",
            "date": "2014-10-04",
            "url": "https://www.exploit-db.com/exploits/34879"
        },
        {
            "source": "exploit-db",
            "ref_id": "34862",
            "title": "Pure-FTPd - External Authentication Bash Environment Variable Code Injection (Metasploit)",
            "date": "2014-10-02",
            "url": "https://www.exploit-db.com/exploits/34862"
        },
        {
            "source": "exploit-db",
            "ref_id": "34860",
            "title": "GNU bash 4.3.11 - Environment Variable dhclient",
            "date": "2014-10-02",
            "url": "https://www.exploit-db.com/exploits/34860"
        },
        {
            "source": "exploit-db",
            "ref_id": "34839",
            "title": "IPFire - CGI Web Interface (Authenticated) Bash Environment Variable Code Injection",
            "date": "2014-10-01",
            "url": "https://www.exploit-db.com/exploits/34839"
        },
        {
            "source": "exploit-db",
            "ref_id": "34765",
            "title": "GNU Bash - 'Shellshock' Environment Variable Command Injection",
            "date": "2014-09-25",
            "url": "https://www.exploit-db.com/exploits/34765"
        },
        {
            "source": "exploit-db",
            "ref_id": "34777",
            "title": "GNU Bash - Environment Variable Command Injection (Metasploit)",
            "date": "2014-09-25",
            "url": "https://www.exploit-db.com/exploits/34777"
        },
        {
            "source": "exploit-db",
            "ref_id": "34766",
            "title": "Bash - 'Shellshock' Environment Variables Command Injection",
            "date": "2014-09-25",
            "url": "https://www.exploit-db.com/exploits/34766"
        }
    ],
    "refs_list": [
        "http://advisories.mageia.org/MGASA-2014-0388.html",
        "http://archives.neohapsis.com/archives/bugtraq/2014-10/0101.html",
        "http://jvn.jp/en/jp/JVN55667175/index.html",
        "http://jvndb.jvn.jp/jvndb/JVNDB-2014-000126",
        "http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10673",
        "http://lcamtuf.blogspot.com/2014/09/quick-notes-about-bash-bug-its-impact.html",
        "http://linux.oracle.com/errata/ELSA-2014-1293.html",
        "http://linux.oracle.com/errata/ELSA-2014-1294.html",
        "http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00028.html",
        "http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00029.html",
        "http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00034.html",
        "http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00037.html",
        "http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00040.html",
        "http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00044.html",
        "http://lists.opensuse.org/opensuse-security-announce/2014-09/msg00049.html",
        "http://lists.opensuse.org/opensuse-security-announce/2014-10/msg00004.html",
        "http://lists.opensuse.org/opensuse-updates/2014-10/msg00023.html",
        "http://lists.opensuse.org/opensuse-updates/2014-10/msg00025.html",
        "http://marc.info/?l=bugtraq&m=141216207813411&w=2",
        "http://marc.info/?l=bugtraq&m=141216668515282&w=2",
        "http://marc.info/?l=bugtraq&m=141235957116749&w=2",
        "http://marc.info/?l=bugtraq&m=141319209015420&w=2",
        "http://marc.info/?l=bugtraq&m=141330425327438&w=2",
        "http://marc.info/?l=bugtraq&m=141330468527613&w=2",
        "http://marc.info/?l=bugtraq&m=141345648114150&w=2"
    ]
}