shellshock bashbug vulnerability fix

Shellshock Bash and Bashbug Vulnerability

I’m sure most of you are familiar with the Heartbleed vulnerability with OpenSSL and how it has affected most of the applications and systems across the internet. Well a new vulnerability has appeared and is potentially much worse. While this vulnerability is new to the public it has been a “bug” for over 25 years and is just now being exploited on a much larger scale.

shellshock bashbug vulnerability fix

Shellshock Video:

Here is a quick video explaining Shellshock:

Shellshock Test:

In order to test for the Shellshock bash vulnerability you can run this test command from Terminal:

env x='() { :;}; echo vulnerable' bash -c 'echo hello'

If you’re not vulnerable, you’ll get this result:

bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x' hello

If you are vulnerable to shellshock, you’ll get:

vulnerable hello

You may also need to check the version of bash you’re running by entering:

bash --version

Shellshock Fix:

Many Linux distributions already have patches available, and Apple/Mac users now have patch available which you can download and install it here.

Redhat Shellshock Fix

SUSE Shellshock Fix

Ubuntu Shellshock Fix

EMC products affected by Shellshockhttps://emc–

Cisco products affected by Shellshock

VMware products affected by Shellshock


This can potentially be one of the most dangerous vulnerabilities because of how easy it is to exploit. However it is also one of the easiest to fix and patch. Make sure all of your systems are updated with all of the latest security patches and you shouldnt have an issue. If you have any comments or need assistance leave me a comment below and I will address them.

Update: I have been getting asked how to patch windows for the vulnerability, so just to be clear Windows machines and Windows servers do not run Bash.


Leave a Reply