CVE-2014-6277 Code injection in n/a

Critical 10.0 Published Updated

Remote attackers can execute arbitrary code or cause denial of service via crafted environment variables in GNU Bash.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2014-6277?

CVE-2014-6277 is a critical code injection vulnerability in n/a, published on 27 Sep 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-78

Which versions are affected by CVE-2014-6277?

It affects 1 product.

Products include Gnu Bash.

How do I fix CVE-2014-6277?

Apply the vendor's patch.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2014-6277 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-6277 exists.

Public exploit code: 3 Exploit-DB entries.

Sources

Also known as DEBIAN-CVE-2014-6277, GHSA-55cc-h8m2-x3mp, UBUNTU-CVE-2014-6277.

Is CVE-2014-6277 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free