Bash "Shellshock" vulnerability: fixing unsupported Ubuntu releases
A few months after Heartbleed hit everyone (see discussion in my http://www.doc.ic.ac.uk/~dcw/ webpage), now we have a severe security vulnerability (CVE-2014-6271) in practically all versions of Bash, the Unix Bourne Again Shell.
You can check whether bash on a particular machine is vulnerable or not by running the following in a bash shell:
env x=’() { :;}; echo vulnerable’ bash -c ‘echo hello’
If it prints:
vulnerable
hello
then you’re vulnerable. We’re big Ubuntu users where I work, so we’re rolling out security updates on supported Ubuntu distros, and building our own experimental bash packages on unsupported distros (don’t get me started on Ubuntu’s “You Must Only Run Supported Distros” creed).