env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
vulnerable
sudo apt-get updatesudo apt-get install --only-upgrade bash
mkdir srccd srcwget http://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz#download all patchesfor i in $(seq -f "%03g" 0 25); do wget http://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-$i; donetar zxvf bash-4.3.tar.gzcd bash-4.3#apply all patchesfor i in $(seq -f "%03g" 0 25);do patch -p0 < ../bash43-$i; done #build and install./configure && make && make install