How to fix the Bash bug on CentOS 6
Recently a critical bash bug was discovered.
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*/https://access.redhat.com/node/1200223 (https://web.archive.org)
Response: 20 (Success), text/gemini
| Original URL | gemini://chirale.org/2014-09-26_1243.gmi |
|---|---|
| Status Code | 20 (Success) |
| Content-Type | text/gemini; charset=utf-8 |