最新bash漏洞解决方法

今天刚刚爆出Bash安全漏洞,SSH bash紧急安全补丁!重要! 测试是否存在漏洞,执行以下命令: [root@keepalivenginxmaster /]# env x='() { :;}; echo vulnerable'  bash -c "echo this is a test" vulnerable this is a test 如果显示如上,那么,很遗憾,必须立即打上安全补丁修复, 临时解决办法为: yum -y update bash 升级bash后,执行测试: [root@keepalivenginxmaster /]# env x='() { :;}; echo vulnerable'  bash -c "echo this is a test" bash: warning: x: ignoring function definition attempt bash: error importing function definition for `x' this is a test
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章