You still have to replace /bin/bash and /bin/sh binaries, even after doing a `brew install bash`.
...right? `brew install bash` will just give you /usr/local/bin/bash, and then use that as your interactive shell.
...right? `brew install bash` will just give you /usr/local/bin/bash, and then use that as your interactive shell.
#!/bin/bashThis guide is claiming that updating your login shell to bash via Homebrew will mitigate shellshock, which is flat-out wrong, and dangerous to boot.
http://support.apple.com/downloads/
I don't know if it fixes the more recently found bash vulnerabilities, but I know it fixes the first one that was reported.
You can find versions for Lion and Mountain Lion if you search.