CVE-2021-4115
polkit是一个在类 Unix操作系统中控制系统范围权限的组件。通过定义和审核权限规则,实现不同优先级进程间的通讯。polkit 存在资源管理错误漏洞,该漏洞源于进程文件描述符耗尽,攻击者利用该漏洞允许非特权用户导致polkit崩溃。
·银河麒麟桌面操作系统V10 SP1
x86_64 架构:
gir1.2-polkit-1.0、libpolkit-agent-1-0、libpolkit-gobject-1-0、policykit-1
arm64 架构:
gir1.2-polkit-1.0、libpolkit-agent-1-0、libpolkit-gobject-1-0、policykit-1
mips64el 架构:
gir1.2-polkit-1.0、libpolkit-agent-1-0、libpolkit-gobject-1-0、policykit-1
loongarch64 架构:
gir1.2-polkit-1.0、libpolkit-agent-1-0、libpolkit-gobject-1-0、policykit-1
·银河麒麟桌面操作系统V10 SP1
0.105-26kylin1.3
打开软件包源配置文件,根据仓库地址进行修改。
10.0 SP1:
http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
配置完成后执行更新命令进行升级
$sudo apt update
$sudo apt install policykit-1
通过软件包地址下载软件包,使用软件包升级命令根据受影响的软件包列表升级相关的组件包。
$sudo dpkg -i /Path1/Package1 /Path2/Package2 /Path3/Package3……
注:Path 指软件包下载到本地的路径,Package指下载的软件包名称,多个软件包则以空格分开。
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/gir1.2-polkit-1.0_0.105-26kylin1.3_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/libpolkit-agent-1-0_0.105-26kylin1.3_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/libpolkit-gobject-1-0_0.105-26kylin1.3_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/policykit-1_0.105-26kylin1.3_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/gir1.2-polkit-1.0_0.105-26kylin1.3_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/libpolkit-agent-1-0_0.105-26kylin1.3_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/libpolkit-gobject-1-0_0.105-26kylin1.3_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/policykit-1_0.105-26kylin1.3_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/gir1.2-polkit-1.0_0.105-26kylin1.3_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/libpolkit-agent-1-0_0.105-26kylin1.3_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/libpolkit-gobject-1-0_0.105-26kylin1.3_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/policykit-1_0.105-26kylin1.3_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/gir1.2-polkit-1.0_0.105-26kylin1.3_loongarch64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/libpolkit-agent-1-0_0.105-26kylin1.3_loongarch64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/libpolkit-gobject-1-0_0.105-26kylin1.3_loongarch64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/p/policykit-1/policykit-1_0.105-26kylin1.3_loongarch64.deb
使用软件包查询命令,查看相关的软件包版本大于或等于修复版本则成功修复。
$sudo dpkg -l |grep Package
注:Package为软件包包名。