5

Sudo缓冲区溢出漏洞(CVE-2021-3156)修复

 1 year ago
source link: https://blog.51cto.com/u_13753753/5745659
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Sudo缓冲区溢出漏洞(CVE-2021-3156)修复

精选 原创

雍州无名 2022-10-11 08:35:41 博主文章分类:centos7 ©著作权

文章标签 下载地址 系统服务 栈溢出 文章分类 其它 系统/运维 阅读数185

接客户通知,需要修复Sudo缓冲区溢出漏洞(CVE-2021-3156),RedHat发布了sudo 缓冲区/栈溢出漏洞的风险通告,系统服务器涉及该漏洞,需要修补,链接如下:

 ​https://access.redhat.com/security/cve/CVE-2021-3156​

Sudo缓冲区溢出漏洞(CVE-2021-3156)修复_系统服务

1.环境准备

安装gcc

yum install gcc

2.下载sudo

下载地址:​ ​https://www.sudo.ws/​

Sudo缓冲区溢出漏洞(CVE-2021-3156)修复_系统服务_02

3.安装sudo

tar -xvf sudo-1.9.11p3.tar.gz
cd sudo-1.9.11p3
./configure --prefix=/usr --libexecdir=/usr/lib --with-secure-path --with-all-insults --with-env-editor --docdir=/usr/share/doc/sudo-1.9.5p2 --with-passprompt="[sudo] password for %p: "
make
make install

查看是否安装成功

sudo -V
Sudo缓冲区溢出漏洞(CVE-2021-3156)修复_系统服务_03

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK