Linux bash存在安全漏洞

2015-01-13 服 务 器 1181 阅读 0 评论

Linux Bash爆出了严重的安全漏洞,需要赶紧修复。
Linux bash存在安全漏洞及修复方法:
[info_box]目前各大主流的Linux发行版均已经更新了漏洞的解决方案。[/info_box]

检测命令:

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

存在漏洞则返回:

Server is vulnerable

不存在漏洞则返回:

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

修复方法

1)CentOS / Fedora / RedHat / CloudLinux

yum -y update bash

2)Ubuntu / Debian

apt-get update && apt-get install bash

3)OpenSUSE

zypper patch --cve=CVE-2014-6217
zypper patch --cve=CVE-2014-7169

本文链接:https://blog.clang.cn/753.html

版权声明:转载请注明出处。

评论 (0)

评论已关闭