Name | CVE-2014-6277 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
bash (PTS) | jessie, jessie (lts) | 4.3-11+deb8u2 | fixed |
stretch | 4.4-5 | fixed | |
buster | 5.0-4 | fixed | |
bullseye | 5.1-2+deb11u1 | fixed | |
bookworm | 5.2.15-2 | fixed | |
sid, trixie | 5.2.32-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
bash | source | squeeze | 4.1-3+deb6u2 | |||
bash | source | wheezy | 4.2+dfsg-0.1+deb7u3 | |||
bash | source | (unstable) | 4.3-9.2 |
Florian Weimer's variables-affix.patch patch applied in Debian prevents
exploitation of this issue by making bash only use environment variables
with specific names (BASH_FUNC_*()) to define functions from its
environment.