大网数据广告活动
服务器运维问答

updating SSH version 7.4pl to 7.5 on Amazon linux 2

· 52CE 我爱测

I got one error while scanning My Amazon linux 2 Ec2 instance OpenSSH < 7.5 22 / tcp / ssh Medium 5.0 The vulnerability is not included in the NVD OpenSSH < 7.6 22 / tcp / ssh CVE-2017-15906 Medium 5.0 Patch Report 0 / tcp / but …

问题原文

原帖链接 · user3789039 · CC BY-SA 4.0

I got one error while scanning My Amazon linux 2 Ec2 instance OpenSSH < 7.5 22 / tcp / ssh Medium 5.0 The vulnerability is not included in the

NVD

OpenSSH < 7.6 22 / tcp / ssh

CVE-2017-15906

Medium 5.0

Patch Report 0 / tcp /

but there is no update for ssh now in amazon linux 2 .

is there any other method for updating the ssh.

社区高分解答

原帖链接 · HBruijn · CC BY-SA 4.0

I make a slightly longer and similar argument here but, for as long as your (enterprise) Linux distribution is supported simply applying OS updates (i.e. with [sudo] yum update) should keep your OS secure and you should neither want to nor need to upgrade to specific upstream version number to fix a known security issue.

Search for the CVE number on the Amazon Linux Security Center https://alas.aws.amazon.com/ and you'll find that it has been addressed as https://alas.aws.amazon.com/ALAS-2018-1018.html and that you should run yum update openssh and be done with.

Check in the package Changelog to see which fixes have been backported for instance with:

rpm -qv --changelog openssh-server

Which on my Centos 7 shows among others that I run Open SSH server 7.4 but that despite that CVE-2017-15906 marks every version below OpenSHH 7.6 as vulnerable a fix has been applied and this system is no longer susceptible :

rpm -qv --changelog openssh-server    
* Fri Nov 24 2017 Jakub Jelen <[email omitted]> - 7.4p1-16 + 0.10.3-2
- Fix for CVE-2017-15906 (#1517226)
...

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-02-11)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。