OpenSSH 用户枚举漏洞(CVE-2018-15473) 漏洞修复

OpenSSH 用户枚举漏洞(CVE-2018-15473)漏洞修复

1 漏洞说明

在这里插入图片描述

2 漏洞修复

查看当前openssh版本:

[root@izr0a05u4qferpr7yfhtotz ~]# ssh -V
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017
[root@izr0a05u4qferpr7yfhtotz ~]#

下载openssh 7.8版本安装包,并上传至服务器;

解压安装包:

[root@izr0a05u4qferpr7yfhtoqz opt]# tar -xvf openssh-7.8p1.tar.gz

进入解压后的目录,开始编译并安装:

[root@izr0a05u4qferpr7yfhtoqz opt]# cd openssh-7.8p1
[root@izr0a05u4qferpr7yfhtoqz openssh-7.8p1]# ./configure
...省略过程日志...
[root@izr0a05u4qferpr7yfhtoqz openssh-7.8p1]# make
...略过程日志...
[root@izr0a05u4qferpr7yfhtoqz openssh-7.8p1]# make install

3 相关问题

  • 编译时若出现以下报错,则表示zlib没有安装:
checking for zlib.h... no
configure: error: *** zlib.h missing - please install first or check config.log ***

安装zlib:

yum -y install zlib zlib-devel
  • 编译时若出现以下报错:
checking for openssl/opensslv.h... no
configure: error: *** OpenSSL headers missing - please install first or check config.log ***

解决方式:

yum install openssl openssl-devel

猜你喜欢

转载自blog.csdn.net/weixin_46505978/article/details/131470405