鬼影漏洞可在版本在glibc-2.18之前的linux系统上被利用。也就是说没有打过补丁的版本2.2到2.17都是有风险的。

<a target="_blank"></a>
你可以使用下面的命令来检查glib的版本
<code>ldd --version</code>
ldd (ubuntu glibc 2.19-10ubuntu2) 2.19 copyright (c) 2014 free software foundation, inc. this is free software; see the source for copying conditions. there is no warranty; not even for merchantability or fitness for a particular purpose. written by roland mcgrath and ulrich drepper.
glib的版本应该高于2.17,我们的输出是2.19。如果你看到glib的版本在2.2到2.17之间。你应该运行下面的命令。
<code>sudo apt-get update</code>
<code></code>
<code>sudo apt-get dist-upgrade</code>
安装完之后,你应该用下面的命令重启系统。
<code>sudo reboot</code>
重启完成之后,你可以用同样的命令来检查glib的版本。
原文发布时间:2015-03-27
本文来自云栖合作伙伴“linux中国”