Linux sudo权限提升漏洞(CVE-2021-3156)修复

CentOS7

# For CentOS7
wget https://share.ifreedo.cn/other/test/sudo1.9.5-3.tgz
tar zxvf sudo1.9.5-3.tgz
cd sudo1.9.5-3
yum install -y `ls`

Ubuntu16.04

# For Ubuntu16.04
wget https://share.ifreedo.cn/other/test/sudo1.9.5-3-ubuntu16.04.tgz
tar zxvf sudo1.9.5-3-ubuntu16.04.tgz
cd sudo1.9.5-3-ubuntu16.04
dpkg -i `ls`

修复结果

image

  • 如果需要其他系统的安装包,请访问以下网址
    https://www.sudo.ws/download.html#binary

猜你喜欢

转载自blog.51cto.com/sqwei/2608868