Skip to content
RedCVE

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

CVSS score

9.8

Critical

CVSS 3.1 from NVD

Exploit probability (EPSS)

100.0%

100.0% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 28 Jan 2022.

US federal deadline to fix: 28 Jul 2022.

Official 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.

Source: NVD · CNA: security@debian.org

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 28 Jan 2022.

    US federal agencies must fix it by 28 Jul 2022. It's a sensible deadline for everyone else too.

    CISA's full instruction
    Apply updates per vendor instructions.
  2. Check whether you're affected

    Find every system running GNU Bash, Arista Eos, SUSE Linux Enterprise Desktop, QNAP Qts, Mageia and compare its version with the affected versions.

  3. Update to a fixed version

    • Update Eos to 4.9.12, 4.10.9, 4.11.11, 4.12.9 or later, on the branch you run.
    • Update Qts to 4.1.1 or later.
  4. If you can't update right away

    Apply the workaround or mitigation in the vendor's advisory until you can update:

  5. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

  6. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
GNU Bash≤ 4.3
Arista 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
Oracle Linux4 · 5 · 6
QNAP Qts< 4.1.1 · 4.1.1
mageia Mageia3.0 · 4.0
Red Hat Gluster Storage Server For On-premise2.1
Red Hat Virtualization3.4
Red Hat Enterprise Linux4.0 · 5.0 · 6.0 · 7.0
Red Hat Enterprise Linux Desktop5.0 · 6.0 · 7.0
Red Hat Enterprise Linux Eus5.9 · 6.4 · 6.5 · 7.3 · 7.4 · 7.5
Red Hat Enterprise Linux For Ibm Z Systems5.9_s390x · 6.4_s390x · 6.5_s390x · 7.3_s390x · 7.4_s390x · 7.5_s390x
Red Hat Enterprise Linux For Power Big Endian5.0_ppc · 5.9_ppc · 6.0_ppc64 · 6.4_ppc64 · 7.0_ppc64
Red Hat Enterprise Linux For Power Big Endian Eus6.5_ppc64 · 7.3_ppc64 · 7.4_ppc64 · 7.5_ppc64 · 7.6_ppc64 · 7.7_ppc64
Red Hat Enterprise Linux For Scientific Computing6.0 · 7.0
Red Hat Enterprise Linux Server5.0 · 6.0 · 7.0
Red Hat Enterprise Linux Server Aus5.6 · 5.9 · 6.2 · 6.4 · 6.5 · 7.3
Red Hat Enterprise Linux Server From Rhui5.0 · 6.0 · 7.0
Red Hat Enterprise Linux Server Tus6.5 · 7.3 · 7.6 · 7.7
Red Hat Enterprise Linux Workstation5.0 · 6.0 · 7.0
SUSE Studio Onsite1.3
opensuse Opensuse12.3 · 13.1 · 13.2
SUSE Linux Enterprise Desktop11 · 12
SUSE Linux Enterprise Server10 · 11 · 12
SUSE Linux Enterprise Software Development Kit11 · 12
Debian Debian Linux7.0

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2014-6271 being exploited?

Yes. CISA added CVE-2014-6271 to its Known Exploited Vulnerabilities catalog on 28 Jan 2022, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 100.0% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2014-6271?

CVE-2014-6271 has a CVSS 3.1 base score of 9.8 (critical).

Which versions are affected?

Gnu Bash (≤ 4.3), Arista 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), Oracle Linux (4; 5; 6), QNAP Qts (< 4.1.1; 4.1.1), Mageia Mageia (3.0; 4.0), Red Hat Gluster Storage Server For On-premise (2.1)

Is there a patch for CVE-2014-6271?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.