[Kernel/Drive] 关于sudo漏洞堆缓冲溢出致本地提权漏洞的补丁升级
Tofloor
poster avatar
jywwwww
deepin
2021-02-05 01:57
Author

有漏洞的sudo版本范围1.8.2-1.8.31p2 和1.9.0-1.9.5p1。  社区版目前sudo 版本1.8.27 在漏洞范围之内,有没办法升级或者打补丁解决,麻烦附上方法谢谢各位大佬

Reply Favorite View the author
All Replies
zeno
deepin
2021-02-05 02:04
#1

昨天发的更新 已经修复了cve-2021-3156,更新一下sudo

Reply View the author
haohu1193
deepin
2021-02-05 02:07
#2

早就推送布丁了...你没收到吗?

 

以非root用户的身份登录,并运行“sudoedit -s /”命令。

 

有漏洞的系统会抛出一个以 “sudoedit: ”开头的错误,而打过补丁的系统则会显示一个以 “usage:”开头的错误。

 

Reply View the author
deltacatxx
deepin
2021-02-05 02:09
#3

很早就修复了,这个是有方法验证是否修复漏洞的

Reply View the author
沈拙言
deepin
2021-02-05 02:10
#4

更新系统解决

Reply View the author
jywwwww
deepin
2021-02-05 02:22
#5
haohu1193

早就推送布丁了...你没收到吗?

 

以非root用户的身份登录,并运行“sudoedit -s /”命令。

 

有漏洞的系统会抛出一个以 “sudoedit: ”开头的错误,而打过补丁的系统则会显示一个以 “usage:”开头的错误。

 

sudoedit -s/

sudoedit: 不适用的选项 -- /

usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-T timeout] [-u user]file ...

请问我这样是没有这个漏洞嘛

 

Reply View the author
jywwwww
deepin
2021-02-05 02:25
#6
zeno

昨天发的更新 已经修复了cve-2021-3156,更新一下sudo

我已经更新了昨天的版本,但是查看sudo版本还是1.8.27,这样是正常的嘛

Reply View the author
haohu1193
deepin
2021-02-05 02:36
#7
jywwwww

sudoedit -s/

sudoedit: 不适用的选项 -- /

usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-T timeout] [-u user]file ...

请问我这样是没有这个漏洞嘛

 

换了张图...再不清楚就......

Reply View the author
jywwwww
deepin
2021-02-05 03:05
#8
haohu1193

换了张图...再不清楚就......

好 谢谢

Reply View the author
SamLukeYes
deepin
2021-02-05 03:09
#9
jywwwww

我已经更新了昨天的版本,但是查看sudo版本还是1.8.27,这样是正常的嘛

版本号不说明问题,执行 sudoedit -s / 后不多废话直接告诉你 usage 就是修复了

Reply View the author
Ziggy
deepin
2021-02-05 05:30
#10

可能是自行修复了,版本号跟上游的,但是可以自行修复

Reply View the author
SamLukeYes
deepin
2021-02-05 05:48
#11
jywwwww

sudoedit -s/

sudoedit: 不适用的选项 -- /

usage: sudoedit [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p prompt] [-T timeout] [-u user]file ...

请问我这样是没有这个漏洞嘛

 

你打错命令了,-s 和 / 之间有空格

Reply View the author