Yesterday, I happened upon news that Macs and Linux boxes expose a vulnerability dubbed “Shellshock” that is said to be potentially worse than “Heartbleed” earlier this year. This sounded serious enough to alert me and take action.
Luckily, real savvy geeks have already identified the main source of this leak, which is found in older versions of bash.
I ran proposed sequence of steps according to the following source and actions proposed on Mac OS 10.9.5. (but the version of the operating system isn’t really the main aspect as it’s about the included version of bash):
It’s paramount to have Xcode installed in order for the above sequence to work. I’m assuming that there will be alternative ways of compiling the provided source code of a more up-to-date version of bash. However, I didn’t feel like tinkering with that and ran an Xcode install in order to keep things as easy as possible. Fortunately, after installing Xcode I was able to complete the sequence of measures, thus resulting in closing the vulnerability. It’s going to be interesting to see, if or when Apple will respond to this.