RCE in GNU Bash

CVE-2014-6277

GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, which allows remote attackers to execute arbitrary code or cause a denial of service (uninitialized memory access, and untrusted-pointer read and write operations) 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. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-6271 and CVE-2014-7169.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v2 metric

CVSS v2 base score 10.0 (High). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS: 0.643 (99.2th percentile), scored .

High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2014-6277: fell from 0.698 to 0.643.

EPSS over last 30 days · oldest: 0.698 · newest: 0.643 · change: -0.054

Affected products

  • GNU Bash — versions 1.14.0, 1.14.1, 1.14.2

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2014-6277?
CVE-2014-6277 is a vulnerability in GNU Bash, classified under OS Command Injection. Published 2014-09-27.
Is CVE-2014-6277 known to be exploited?
23 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.