SMOLNET PORTAL home about changes

How to fix the Bash bug on CentOS 6

Recently a critical bash bug was discovered.

critical bash bug was discovered (http://www.reuters.com)


To fix your CentOS 6 you have to check if you have a vulnerable bash installed. From a non root user, type:

 env x='() { :;}; echo vulnerable' bash -c "echo this is a test"


If you read “vulnerable” as output then you have to update bash. Type su- and then the password to log in as superuser, then type:

 yum update bash


Type Y when asked. When the update process is completed, retype the test script:

 env x='() { :;}; echo vulnerable' bash -c "echo this is a test"


And you shouldn’t read the “vulnerable” message anymore.

Read more:

*

https://web.archive.org/web/20140926000000*/http://www.reuters.com/article/2014/09/24/us-cybersecurity-bash-idUSKCN0HJ2FQ20140924 (https://web.archive.org)
https://web.archive.org/web/20140926000000*/https://access.redhat.com/node/1200223 (https://web.archive.org)
Response: 20 (Success), text/gemini
Original URLgemini://chirale.org/2014-09-26_1243.gmi
Status Code20 (Success)
Content-Typetext/gemini; charset=utf-8