If some Bash code outside of the curly brace then it will then be executed by the Linux system.
1 | env x='() { :;}; echo vulnerable' bash -c " bash test " |
If your system is vulnerable, it will then output:
1 2 | vulnerable bash test |
How Do You Fix It?
Just open up a terminal and type:
1 2 | sudo apt-get update sudo apt-get upgrade |
or under Fedora with :
1 | sudo yum update |