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)

EPSS: 0.643 (99.2th percentile) — read the EPSS interpretation.

Affected products

  • Gnu Bash — versions 1.14.0, 1.14.1, 1.14.2
  • N/a — versions n/a

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.