CVE-2014-6277
Publication date 27 September 2014
Last updated 24 July 2024
Ubuntu priority
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
bash | 14.04 LTS trusty |
Fixed 4.3-7ubuntu1.5
|
Notes
mdeslaur
this issue is mitigated by Florian Weimer's prefix-suffix patch that is included in https://ubuntu.com/security/notices/USN-2364-1 since bash parser vulnerabilities are now limited to specially named environment variables, and as such are no longer directly exposed to CGI scripts, SSH, etc. Once an upstream patch is made available, we will release bash updates, but we don't consider this to be a critical issue requiring immediate attention.
References
Related Ubuntu Security Notices (USN)
- USN-2380-1
- Bash vulnerabilities
- 9 October 2014
Other references
- http://lcamtuf.blogspot.ca/2014/09/bash-bug-apply-unofficial-patch-now.html
- http://www.openwall.com/lists/oss-security/2014/09/27/5
- https://twitter.com/lcamtuf/status/515755449203687425
- http://seclists.org/fulldisclosure/2014/Oct/9
- http://lcamtuf.blogspot.ca/2014/10/bash-bug-how-we-finally-cracked.html
- https://www.cve.org/CVERecord?id=CVE-2014-6277