公告ID(KYSA-202302-0068)
公告ID:KYSA-202302-0068
公告摘要:python3.9安全漏洞
等级:严重
发布日期:2023-08-07
详细介绍
注:
1. 本公告所涉及的漏洞修复信息知识产权全部归麒麟软件有限公司所有,此安全漏洞补丁公告仅适用于麒麟软件操作系统通用主线产品,定制、OEM等版本可根据需要联系售后获取支持。任何媒体、网站或个人转载使用时不得进行商业性的原版原式的转载,也不得歪曲和篡改所发布的内容。此声明以及其修改权、更新权及最终解释权均归本网所有。
2. 此安全漏洞补丁公告仅适用于银河麒麟桌面操作系统V10 SP1 2303 Release版本,系统版本查询工具下载链接:
https://security-oss.kylinos.cn/Desktop/libkysdk-sysinfo.zip
1. 漏洞概述
CVE-2022-42919
Python是Python基金会的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。Python 存在安全漏洞,该漏洞源于 Python multiprocessing 库在 Linux 上与 forkserver 启动方法一起使用时,允许从同一机器本地网络命名空间中的任何用户反序列化 Python pickle,这在许多系统配置中意味着同一机器上的任何用户。
CVE-2022-37454
XKCP是XKCP开源的一个扩展 Keccak 代码包。XKCP SHA-3存在安全漏洞,该漏洞源于攻击者可以通过其sponge函数接口实现整数溢出导致执行任意代码或消除预期的加密属性。
CVE-2021-28861
Python是Python基金会的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。Python 3.x系列版本中 3.10之前版本存在输入验证错误漏洞,该漏洞源于在 lib/http/server.py 中存在一个开放重定向漏洞,因为没有针对 URI 路径开头的多个 (/) 的保护,这可能导致信息泄露。
CVE-2022-45061
Python是Python基金会的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。Python 3.11.1之前版本存在资源管理错误漏洞,该漏洞源于在处理IDNA(RFC 3490)解码器的一些输入时,路径中存在不必要的二次算法。攻击者利用该漏洞引发过度的CPU消耗。
CVE-2015-20107
Python是Python基金会的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。Python 3.10.4 版本及之前版本存在安全漏洞,该漏洞源于 mailcap 模块不会将转义字符添加到系统 mailcap 文件中发现的命令中。
CVE-2023-24329
Python是Python基金会的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。Python 3.11之前版本存在输入验证错误漏洞,该漏洞源于允许攻击者通过提供以空白字符开头的URL来绕过黑名单。
2. 受影响的操作系统及软件包
·银河麒麟桌面操作系统V10 SP1 2303 Release
x86_64 架构:
idle-python3.9、libpython3.9-minimal、libpython3.9-stdlib、libpython3.9-testsuite、libpython3.9、python3.9-examples、python3.9-full、python3.9-minimal、python3.9-venv、python3.9
arm64 架构:
idle-python3.9、libpython3.9-minimal、libpython3.9-stdlib、libpython3.9-testsuite、libpython3.9、python3.9-examples、python3.9-full、python3.9-minimal、python3.9-venv、python3.9
mips64el 架构:
idle-python3.9、libpython3.9-minimal、libpython3.9-stdlib、libpython3.9-testsuite、libpython3.9、python3.9-examples、python3.9-full、python3.9-minimal、python3.9-venv、python3.9
loongarch64 架构:
idle-python3.9、libpython3.9-minimal、libpython3.9-stdlib、libpython3.9-testsuite、libpython3.9、python3.9-examples、python3.9-full、python3.9-minimal、python3.9-venv、python3.9
3. 软件包修复版本
·银河麒麟桌面操作系统V10 SP1 2303 Release
3.9.5-3kylin0~20.04.1+esm1k0.1
4. 修复方法
方法一:升级安装
执行更新命令进行升级
$sudo apt update
$sudo apt install python3.9
方法二:下载软件包进行升级安装
通过软件包地址下载软件包,使用软件包升级命令根据受影响的软件包列表升级相关的组件包。
$sudo dpkg -i /Path1/Package1 /Path2/Package2 /Path3/Package3……
注:Path 指软件包下载到本地的路径,Package指下载的软件包名称,多个软件包则以空格分开。
5. 软件包下载地址
银河麒麟桌面操作系统V10 SP1 2303 Release
x86_64软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/idle-python3.9_3.9.5-3kylin0~20.04.1%2Besm1k0.1_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9-minimal_3.9.5-3kylin0~20.04.1%2Besm1k0.1_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9-stdlib_3.9.5-3kylin0~20.04.1%2Besm1k0.1_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9-testsuite_3.9.5-3kylin0~20.04.1%2Besm1k0.1_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9_3.9.5-3kylin0~20.04.1%2Besm1k0.1_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-examples_3.9.5-3kylin0~20.04.1%2Besm1k0.1_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-full_3.9.5-3kylin0~20.04.1%2Besm1k0.1_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-minimal_3.9.5-3kylin0~20.04.1%2Besm1k0.1_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-venv_3.9.5-3kylin0~20.04.1%2Besm1k0.1_amd64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9_3.9.5-3kylin0~20.04.1%2Besm1k0.1_amd64.deb
arm64软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/idle-python3.9_3.9.5-3kylin0~20.04.1%2Besm1k0.1_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9-minimal_3.9.5-3kylin0~20.04.1%2Besm1k0.1_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9-stdlib_3.9.5-3kylin0~20.04.1%2Besm1k0.1_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9-testsuite_3.9.5-3kylin0~20.04.1%2Besm1k0.1_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9_3.9.5-3kylin0~20.04.1%2Besm1k0.1_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-examples_3.9.5-3kylin0~20.04.1%2Besm1k0.1_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-full_3.9.5-3kylin0~20.04.1%2Besm1k0.1_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-minimal_3.9.5-3kylin0~20.04.1%2Besm1k0.1_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-venv_3.9.5-3kylin0~20.04.1%2Besm1k0.1_arm64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9_3.9.5-3kylin0~20.04.1%2Besm1k0.1_arm64.deb
mips64el软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/idle-python3.9_3.9.5-3kylin0~20.04.1%2Besm1k0.1_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9-minimal_3.9.5-3kylin0~20.04.1%2Besm1k0.1_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9-stdlib_3.9.5-3kylin0~20.04.1%2Besm1k0.1_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9-testsuite_3.9.5-3kylin0~20.04.1%2Besm1k0.1_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9_3.9.5-3kylin0~20.04.1%2Besm1k0.1_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-examples_3.9.5-3kylin0~20.04.1%2Besm1k0.1_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-full_3.9.5-3kylin0~20.04.1%2Besm1k0.1_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-minimal_3.9.5-3kylin0~20.04.1%2Besm1k0.1_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-venv_3.9.5-3kylin0~20.04.1%2Besm1k0.1_mips64el.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9_3.9.5-3kylin0~20.04.1%2Besm1k0.1_mips64el.deb
loongarch64软件包下载地址
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/idle-python3.9_3.9.5-3kylin0~20.04.1%2Besm1k0.1_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9-minimal_3.9.5-3kylin0~20.04.1%2Besm1k0.1_loongarch64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9-stdlib_3.9.5-3kylin0~20.04.1%2Besm1k0.1_loongarch64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9-testsuite_3.9.5-3kylin0~20.04.1%2Besm1k0.1_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/libpython3.9_3.9.5-3kylin0~20.04.1%2Besm1k0.1_loongarch64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-examples_3.9.5-3kylin0~20.04.1%2Besm1k0.1_all.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-full_3.9.5-3kylin0~20.04.1%2Besm1k0.1_loongarch64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-minimal_3.9.5-3kylin0~20.04.1%2Besm1k0.1_loongarch64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9-venv_3.9.5-3kylin0~20.04.1%2Besm1k0.1_loongarch64.deb
http://archive.kylinos.cn/kylin/KYLIN-ALL/pool/universe/p/python3.9/python3.9_3.9.5-3kylin0~20.04.1%2Besm1k0.1_loongarch64.deb
注:软件包仅适用于银河麒麟桌面操作系统V10 SP1 2303 Release版本。
6. 修复验证
使用软件包查询命令,查看相关的软件包版本大于或等于修复版本则成功修复。
$sudo dpkg -l |grep Package
注:Package为软件包包名。