Because of its wide distribution, the vulnerability could be as wide-ranging as the Heartbleed bug, though it may not be nearly as dangerous. The vulnerability affects versions 1.14 through 4.3 of GNU Bash.
Patch your system
For CentOS, Fedora, Red Hat (and the like) users, just type this to update it (yes, theres already a patch, and youll be patched up in about 10 seconds)
Code: Select all
yum -y update bash
Code: Select all
sudo apt-get update && sudo apt-get install --only-upgrade bash
Test your system
To test your system, log into your bash shell and type:
Code: Select all
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
If you see vulnerable afterwards, you havent patched it.
If you see this is a test, youre patched.