红帽官方更新方案地址:https://access.redhat.com/node/1200223
更新方法:
1、在你的命令行下执行下面这条命令:
# env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
如果显示的是下面的内容说明bash存在着漏洞,需要打补丁:
vulnerable
this is a test
2、使用yum更新bash:
[root@node1 yunwei]# yum update bash -y
更新完成之后:
[root@node1 yunwei]# rpm -q bash
bash-4.1.2-15.el6_5.1.x86_64
3、再执行上面的命令
# env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
看到这个就说明补丁已经打上了,再执行/sbin/ldconfig就可以了
笔者的服务器是CentOS6.3的;
CentOS修复方式 http://lists.centos.org/pipermail/centos/2014-September/146099.html
本文转自 wei0164 51CTO博客,原文链接:http://blog.51cto.com/tanxw/1558029,如需转载请自行联系原作者





