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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2014-6277
Vendor advisory: security@debian.org — http://lcamtuf.blogspot.com/2014/09/bash-bug-apply-unofficial-patch-now.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 4.3.027-1 | |
| debian | bookworm | fixed | 4.3-9.2 |
| debian | bullseye | fixed | 4.3-9.2 |
| debian | forky | fixed | 4.3-9.2 |
| debian | sid | fixed | 4.3-9.2 |
| debian | trixie | fixed | 4.3-9.2 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gnu | bash | 1.14.0 | |
| gnu | bash | 1.14.1 | |
| gnu | bash | 1.14.2 | |
| gnu | bash | 1.14.3 | |
| gnu | bash | 1.14.4 | |
| gnu | bash | 1.14.5 | |
| gnu | bash | 1.14.6 | |
| gnu | bash | 1.14.7 | |
| gnu | bash | 2.0 | |
| gnu | bash | 2.01 | |
| gnu | bash | 2.01.1 | |
| gnu | bash | 2.02 | |
| gnu | bash | 2.02.1 | |
| gnu | bash | 2.03 | |
| gnu | bash | 2.04 | |
| gnu | bash | 2.05 | |
| gnu | bash | 3.0 | |
| gnu | bash | 3.0.16 | |
| gnu | bash | 3.1 | |
| gnu | bash | 3.2 | |
| gnu | bash | 3.2.48 | |
| gnu | bash | 4.0 | |
| gnu | bash | 4.1 | |
| gnu | bash | 4.2 | |
| gnu | bash | 4.3 | |
References
- http://jvn.jp/en/jp/JVN55667175/index.html
- http://jvndb.jvn.jp/jvndb/JVNDB-2014-000126
- http://lcamtuf.blogspot.com/2014/09/bash-bug-apply-unofficial-patch-now.html
- http://lcamtuf.blogspot.com/2014/10/bash-bug-how-we-finally-cracked.html
- http://linux.oracle.com/errata/ELSA-2014-3093
- http://linux.oracle.com/errata/ELSA-2014-3094
- http://lists.apple.com/archives/security-announce/2015/Jan/msg00003.html
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- http://lists.opensuse.org/opensuse-security-announce/2014-10/msg00004.html
- http://lists.opensuse.org/opensuse-updates/2014-10/msg00025.html
- http://marc.info/?l=bugtraq&m=141330468527613&w=2
- http://marc.info/?l=bugtraq&m=141345648114150&w=2
- http://marc.info/?l=bugtraq&m=141383026420882&w=2
- http://marc.info/?l=bugtraq&m=141383081521087&w=2
- http://marc.info/?l=bugtraq&m=141383196021590&w=2
- http://marc.info/?l=bugtraq&m=141383244821813&w=2
- http://marc.info/?l=bugtraq&m=141383304022067&w=2
- http://marc.info/?l=bugtraq&m=141383353622268&w=2
- http://marc.info/?l=bugtraq&m=141383465822787&w=2
- http://marc.info/?l=bugtraq&m=141450491804793&w=2
- http://marc.info/?l=bugtraq&m=141576728022234&w=2
- http://marc.info/?l=bugtraq&m=141577137423233&w=2
- http://marc.info/?l=bugtraq&m=141577241923505&w=2
- http://marc.info/?l=bugtraq&m=141577297623641&w=2
- http://marc.info/?l=bugtraq&m=141585637922673&w=2
CWEs
CWE-78
Verify integrity in audit chain (admin only). AS-IS.