#45150 closed defect (fixed)
bash 4.3.24_0 critical security update
Reported by: | hahn.seb@… | Owned by: | raimue (Rainer Müller) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | cooljeanius (Eric Gallager) |
Port: | bash |
Description
CVE-2014-6271 is a critical vulnerability in bash. Attached patch applies the fix.
Attachments (1)
Change History (7)
Changed 10 years ago by hahn.seb@…
Attachment: | 0001-Upgrade-bash-to-patchlevel-25-CVE-2014-6271.patch added |
---|
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Keywords: | haspatch added |
---|---|
Owner: | changed from macports-tickets@… to raimue@… |
Version: | 2.3.1 |
comment:2 Changed 10 years ago by raimue (Rainer Müller)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Thanks for the heads-up. Fixed in r125719.
comment:3 Changed 10 years ago by johndouthat@…
After installing 4.3.25 from MacPorts, bash still seems to be vulnerable
~ $ echo $BASH_VERSION 4.3.25(1)-release ~ $ env x='() { :;}; echo vulnerable' bash -c "echo this is a test" vulnerable this is a test
I expected to see something like this: (from a patched Ubuntu 12.04 machine)
~$ echo $BASH_VERSION 4.2.25(1)-release ~$ env x='() { :;}; echo vulnerable' bash -c "echo this is a test" bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x' this is a test
comment:4 Changed 10 years ago by hahn.seb@…
Sorry about forgetting to CC the maintainer.
Fun, for me the exploit doesn't work anymore.
[ ~]$ echo $BASH_VERSION 4.3.25(1)-release [ ~]$ env x='() { :;}; echo vulnerable' bash -c "echo this is a test" bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x' this is a test
comment:5 Changed 10 years ago by johndouthat@…
My mistake! I was running the wrong version of bash. Sincerest apologies.
~ $ env x='() { :;}; echo vulnerable' /opt/local/bin/bash -c "echo this is a test" /opt/local/bin/bash: warning: x: ignoring function definition attempt /opt/local/bin/bash: error importing function definition for `x' this is a test
Note: See
TracTickets for help on using
tickets.
In the future, please Cc the port maintainers (
port info --maintainers bash
).