公告ID(KYSA-202210-0007)
公告ID:KYSA-202210-0007
公告摘要:strongswan安全漏洞
等级:中等
发布日期:2023-12-14
详细介绍
注:
1. 本公告所涉及的漏洞修复信息知识产权全部归麒麟软件有限公司所有,此安全漏洞补丁公告仅适用于麒麟软件操作系统通用主线产品,定制、OEM等版本可根据需要联系售后获取支持。任何媒体、网站或个人转载使用时不得进行商业性的原版原式的转载,也不得歪曲和篡改所发布的内容。此声明以及其修改权、更新权及最终解释权均归本网所有。
2. 此安全漏洞补丁公告仅适用于银河麒麟桌面操作系统V10 SP1 2303版本,系统版本查询工具下载链接:
https://security-oss.kylinos.cn/Desktop/libkysdk-sysinfo.zip
1. 漏洞概述
CVE-2022-40617
strongSwan是瑞士Andreas Steffen个人开发者的一套Linux平台使用的开源的基于IPsec的VPN解决方案。该方案包含X.509公开密钥证书、安全储存私钥、智能卡等认证机制。strongSwan 5.9.1-1+deb11u3之前版本存在安全漏洞,该漏洞源于该插件使用OCSP URIs和CRL分发点(CDP),这些都来自于远程端点提供的证书,在使用这些URI之前没有检查证书信任链,因此攻击者可以提供一个精心制作的证书,其中包含指向他们控制下的服务器的URI,可能会导致拒绝服务攻击。
2. 受影响的操作系统及软件包
·银河麒麟桌面操作系统V10 SP1 2303
x86_64 架构:
charon-cmd、charon-systemd、libcharon-extauth-plugins、libcharon-extra-plugins、libcharon-standard-plugins、libstrongswan-extra-plugins、libstrongswan-standard-plugins、libstrongswan、strongswan-charon、strongswan-libcharon、strongswan-nm、strongswan-pki、strongswan-scepclient、strongswan-starter、strongswan-swanctl、strongswan-tnc-base、strongswan-tnc-client、strongswan-tnc-ifmap、strongswan-tnc-pdp、strongswan-tnc-server、strongswan
arm64 架构:
charon-cmd、charon-systemd、libcharon-extauth-plugins、libcharon-extra-plugins、libcharon-standard-plugins、libstrongswan-extra-plugins、libstrongswan-standard-plugins、libstrongswan、strongswan-charon、strongswan-libcharon、strongswan-nm、strongswan-pki、strongswan-scepclient、strongswan-starter、strongswan-swanctl、strongswan-tnc-base、strongswan-tnc-client、strongswan-tnc-ifmap、strongswan-tnc-pdp、strongswan-tnc-server、strongswan
mips64el 架构:
charon-cmd、charon-systemd、libcharon-extauth-plugins、libcharon-extra-plugins、libcharon-standard-plugins、libstrongswan-extra-plugins、libstrongswan-standard-plugins、libstrongswan、strongswan-charon、strongswan-libcharon、strongswan-nm、strongswan-pki、strongswan-scepclient、strongswan-starter、strongswan-swanctl、strongswan-tnc-base、strongswan-tnc-client、strongswan-tnc-ifmap、strongswan-tnc-pdp、strongswan-tnc-server、strongswan
loongarch64 架构:
charon-cmd、charon-systemd、libcharon-extauth-plugins、libcharon-extra-plugins、libcharon-standard-plugins、libstrongswan-extra-plugins、libstrongswan-standard-plugins、libstrongswan、strongswan-charon、strongswan-libcharon、strongswan-nm、strongswan-pki、strongswan-scepclient、strongswan-starter、strongswan-swanctl、strongswan-tnc-base、strongswan-tnc-client、strongswan-tnc-ifmap、strongswan-tnc-pdp、strongswan-tnc-server、strongswan
3. 软件包修复版本
·银河麒麟桌面操作系统V10 SP1 2303
5.8.2-1kylin3.5k0.4
4. 修复方法
方法一:升级安装
执行更新命令进行升级
$sudo apt update
$sudo apt install strongswan
方法二:下载软件包进行升级安装
通过软件包地址下载软件包,使用软件包升级命令根据受影响的软件包列表升级相关的组件包。
$sudo dpkg -i /Path1/Package1 /Path2/Package2 /Path3/Package3……
注:Path 指软件包下载到本地的路径,Package指下载的软件包名称,多个软件包则以空格分开。
5. 软件包下载地址
银河麒麟桌面操作系统V10 SP1 2303
x86_64软件包下载地址
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/charon-cmd_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/charon-systemd_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libcharon-extauth-plugins_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libcharon-extra-plugins_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libcharon-standard-plugins_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libstrongswan-extra-plugins_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libstrongswan-standard-plugins_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libstrongswan_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-charon_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-libcharon_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-nm_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-pki_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-scepclient_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-starter_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-swanctl_5.8.2-1kylin3.5k0.4_amd64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-base_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-client_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-ifmap_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-pdp_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-server_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan_5.8.2-1kylin3.5k0.4_all.deb
arm64软件包下载地址
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/charon-cmd_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/charon-systemd_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libcharon-extauth-plugins_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libcharon-extra-plugins_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libcharon-standard-plugins_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libstrongswan-extra-plugins_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libstrongswan-standard-plugins_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libstrongswan_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-charon_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-libcharon_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-nm_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-pki_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-scepclient_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-starter_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-swanctl_5.8.2-1kylin3.5k0.4_arm64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-base_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-client_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-ifmap_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-pdp_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-server_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan_5.8.2-1kylin3.5k0.4_all.deb
mips64el软件包下载地址
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/charon-cmd_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/charon-systemd_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libcharon-extauth-plugins_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libcharon-extra-plugins_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libcharon-standard-plugins_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libstrongswan-extra-plugins_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libstrongswan-standard-plugins_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libstrongswan_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-charon_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-libcharon_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-nm_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-pki_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-scepclient_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-starter_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-swanctl_5.8.2-1kylin3.5k0.4_mips64el.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-base_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-client_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-ifmap_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-pdp_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-server_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan_5.8.2-1kylin3.5k0.4_all.deb
loongarch64软件包下载地址
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/charon-cmd_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/charon-systemd_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libcharon-extauth-plugins_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libcharon-extra-plugins_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libcharon-standard-plugins_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libstrongswan-extra-plugins_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libstrongswan-standard-plugins_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/libstrongswan_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-charon_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-libcharon_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-nm_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-pki_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-scepclient_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-starter_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-swanctl_5.8.2-1kylin3.5k0.4_loongarch64.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-base_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-client_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-ifmap_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-pdp_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan-tnc-server_5.8.2-1kylin3.5k0.4_all.deb
https://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/s/strongswan/strongswan_5.8.2-1kylin3.5k0.4_all.deb
注:软件包仅适用于银河麒麟桌面操作系统V10 SP1 2303版本。
6. 修复验证
使用软件包查询命令,查看相关的软件包版本大于或等于修复版本则成功修复。
$sudo dpkg -l |grep Package
注:Package为软件包包名。