CentOS7 关于Linux Polkit本地权限提升漏洞(CVE-2021-4034)的在线和离线的两种修复方式
https://blog.csdn.net/liangtongning/article/details/122805070
在线修复
- yum clean all && yum makecache
- yum update polkit -y
[root@Fort ~]# yum clean all
已加载插件:fastestmirror
正在清理软件源: mirrors.163.com
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors
[root@Fort ~]# yum update polkit
已加载插件:fastestmirror
Determining fastest mirrors
mirrors.163.com | 3.6 kB 00:00:00
(1/2): mirrors.163.com/group_gz | 153 kB 00:00:00
(2/2): mirrors.163.com/primary_db | 6.1 MB 00:00:01
No packages marked for update
[root@Fort ~]# rpm -qa polkit
polkit-0.112-26.el7.x86_64
[root@Fort ~]# yum makecache
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
mirrors.163.com | 3.6 kB 00:00:00
(1/2): mirrors.163.com/other_db | 2.6 MB 00:00:01
(2/2): mirrors.163.com/filelists_db | 7.2 MB 00:00:05
元数据缓存已建立
[root@Fort ~]# rpm -qa polkit
polkit-0.112-26.el7.x86_64
离线修复
http://mirror.centos.org/centos/7/updates/x86_64/Packages/ # CentOS 官网下载
wget http://mirror.centos.org/centos/7/updates/x86_64/Packages/polkit-0.112-26.el7_9.1.x86_64.rpm
标签:00,离线,mirrors.163,polkit,yum,2021,64,CVE,com
From: https://www.cnblogs.com/liuzonglin/p/17724027.html