Skip to content
StratQuad

Threats

GNU Bash processes code after function definitions in environment variables

CVE-2014-6271Known exploitedCritical

GNU Bash through version 4.3 executes arbitrary code that appears after function definitions within environment variable values. An attacker who can set environment variables before Bash runs, such as through OpenSSH's ForceCommand feature, Apache's CGI modules, or DHCP client scripts, can exploit this to execute code with the privileges of the Bash process. The vulnerability exists because Bash does not properly terminate parsing of function definitions in environment variables.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
9.8
CRITICAL
EPSS score
1.00
Probability of exploitation in 30 days
EPSS percentile
99th
Share of scored CVEs at or below this one
Added to KEV
28 Jan 2022
CISA due date
28 Jul 2022
Applies to US federal agencies

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

Detail

GNU Bourne-Again Shell (Bash). CISA required action: Apply updates per vendor instructions.

Weakness: CWE-78 (opens in a new tab)

Affected versions

  • gnu bash: up to 4.3
  • arista eos: from 4.9.0, before 4.9.12
  • arista eos: from 4.10.0, before 4.10.9
  • arista eos: from 4.11.0, before 4.11.11
  • arista eos: from 4.12.0, before 4.12.9
  • arista eos: from 4.13.0, before 4.13.9
  • arista eos: from 4.14.0, before 4.14.4f
  • oracle linux: 4
  • oracle linux: 5
  • oracle linux: 6
  • qnap qts: before 4.1.1
  • qnap qts: 4.1.1
  • mageia mageia: 3.0
  • mageia mageia: 4.0
  • redhat gluster storage server for on-premise: 2.1
  • redhat virtualization: 3.4
  • redhat enterprise linux: 4.0
  • redhat enterprise linux: 5.0
  • redhat enterprise linux: 6.0
  • redhat enterprise linux: 7.0
  • redhat enterprise linux desktop: 5.0
  • redhat enterprise linux desktop: 6.0
  • redhat enterprise linux desktop: 7.0
  • redhat enterprise linux eus: 5.9
  • redhat enterprise linux eus: 6.4

The NVD record lists more.