公告ID(KYSA-202109-0005)
公告ID:KYSA-202109-0005
公告摘要:curl安全漏洞
等级:Moderate
发布日期:2023-01-03
详细介绍
1. 修复的CVE
CVE-2021-22946
HAXX Haxx curl是瑞典Haxx(HAXX)公司的一套利用URL语法在命令行下工作的文件传输工具。该工具支持文件上传和下载,并包含一个用于程序开发的libcurl(客户端URL传输库)。Haxx curl 存在安全漏洞,目前尚无此漏洞的相关信息,请随时关注CNNVD或厂商公告。
CVE-2021-22947
HAXX Haxx curl是瑞典Haxx(HAXX)公司的一套利用URL语法在命令行下工作的文件传输工具。该工具支持文件上传和下载,并包含一个用于程序开发的libcurl(客户端URL传输库)。Haxx curl 存在数据伪造问题漏洞,该漏洞源于网络系统或产品未充分验证数据的来源或真实性。攻击者可利用伪造的数据进行攻击。
2. 受影响的操作系统及软件包
·银河麒麟桌面操作系统V4
curl
libcurl3-gnutls
libcurl3-nss
libcurl4
libcurl4-doc
libcurl4-gnutls-dev
libcurl4-nss-dev
libcurl4-openssl-dev
·银河麒麟桌面操作系统V10
curl
libcurl3-gnutls
libcurl3-nss
libcurl4
libcurl4-doc
libcurl4-gnutls-dev
libcurl4-nss-dev
libcurl4-openssl-dev
·银河麒麟桌面操作系统V10 SP1
curl
libcurl3-gnutls
libcurl3-nss
libcurl4
libcurl4-doc
libcurl4-gnutls-dev
libcurl4-nss-dev
libcurl4-openssl-dev
3. 软件包修复版本
软件包:curl
7.47.0-1kord2.19+esm1k2(V4、V10)
7.68.0-1kylin2.7(V10 SP1)
4. 修复方法
方法一:配置源进行升级安装
打开软件包源配置文件,根据仓库地址进行修改。
4.0.2-sp1:
http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp1-desktop main restricted universe multiverse
4.0.2-sp2:
http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp2-desktop main restricted universe multiverse
4.0.2-sp3:
http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp3-desktop main restricted universe multiverse
4.0.2-sp4:
http://archive.kylinos.cn/kylin/KYLIN-ALL 4.0.2sp4-desktop main restricted universe multiverse
10.0:
http://archive.kylinos.cn/kylin/KYLIN-ALL 10.0 main restricted universe multiverse
10.0 SP1:
http://archive.kylinos.cn/kylin/KYLIN-ALL 10.1 main restricted universe multiverse
配置完成后执行更新命令进行升级
$sudo apt update
方法二:下载安装包进行升级安装
通过软件包地址下载软件包,使用软件包升级命令根据受影响的组件包列表 升级相关的组件包。
#dpkg -i Packagelists
5. 软件包下载地址
麒麟操作系统V10桌面版、V4
X86_64软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/curl_7.47.0-1kord2.19+esm1k2_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl3-dbg_7.47.0-1kord2.19+esm1k2_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl3-gnutls_7.47.0-1kord2.19+esm1k2_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl3-nss_7.47.0-1kord2.19+esm1k2_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl3_7.47.0-1kord2.19+esm1k2_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-doc_7.47.0-1kord2.19+esm1k2_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-gnutls-dev_7.47.0-1kord2.19+esm1k2_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-nss-dev_7.47.0-1kord2.19+esm1k2_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-openssl-dev_7.47.0-1kord2.19+esm1k2_amd64.deb
arm64软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/curl_7.47.0-1kord2.19+esm1k2_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl3-dbg_7.47.0-1kord2.19+esm1k2_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl3-gnutls_7.47.0-1kord2.19+esm1k2_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl3-nss_7.47.0-1kord2.19+esm1k2_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl3_7.47.0-1kord2.19+esm1k2_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-doc_7.47.0-1kord2.19+esm1k2_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-gnutls-dev_7.47.0-1kord2.19+esm1k2_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-nss-dev_7.47.0-1kord2.19+esm1k2_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-openssl-dev_7.47.0-1kord2.19+esm1k2_arm64.deb
麒麟操作系统桌面版V10 SP1
X86_64软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/curl_7.68.0-1kylin2.7_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl3-gnutls_7.68.0-1kylin2.7_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl3-nss_7.68.0-1kylin2.7_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-doc_7.68.0-1kylin2.7_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-gnutls-dev_7.68.0-1kylin2.7_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-nss-dev_7.68.0-1kylin2.7_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-openssl-dev_7.68.0-1kylin2.7_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4_7.68.0-1kylin2.7_amd64.deb
arm64软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/curl_7.68.0-1kylin2.7_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl3-gnutls_7.68.0-1kylin2.7_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl3-nss_7.68.0-1kylin2.7_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-doc_7.68.0-1kylin2.7_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-gnutls-dev_7.68.0-1kylin2.7_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-nss-dev_7.68.0-1kylin2.7_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4-openssl-dev_7.68.0-1kylin2.7_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/main/c/curl/libcurl4_7.68.0-1kylin2.7_arm64.deb
6. 修复验证
使用软件包查询命令,查看相关的软件包版本大于或等于修复版本则成功修复。
$sudo dpkg -l |grep Package
注:Package为软件包包名。