摘要:
python-pip security update
安全等级: High
公告ID: KylinSec-SA-2022-2106
发布日期: 2022年9月23日
关联CVE: CVE-2021-33503 CVE-2020-14422
pip is the package installer for Python. You can use pip to install packages from the Python Package Index and other indexes. %global bashcompdir %(b=$(pkg-config --variable=completionsdir bash-completion 2>/dev/null); echo ${b:-/bash_completion.d}) Name: python-pip Version: 21.3.1 Release: 1 Summary: A tool for installing and managing Python packages License: MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD) URL: http://www.pip-installer.org Source0: BuildArch: noarch Patch1: allow-stripping-given-prefix-from-wheel-RECORD-files. Patch2: emit-a-warning-when-running-with-root-privileges.patch Patch6000: dummy-certifi.patch
Security Fix(es):
An issue was discovered in urllib3 before 1.26.5. When provided with a URL containing many @ characters in the authority component, the authority regular expression exhibits catastrophic backtracking, causing a denial of service if a URL were passed as a parameter or redirected to via an HTTP redirect.(CVE-2021-33503)
Lib/ipaddress.py in Python through 3.8.3 improperly computes hash values in the IPv4Interface and IPv6Interface classes, which might allow a remote attacker to cause a denial of service if an application is affected by the performance of a dictionary containing IPv4Interface or IPv6Interface objects, and this attacker can cause many dictionary entries to be created. This is fixed in: v3.5.10, v3.5.10rc1; v3.6.12; v3.7.9; v3.8.4, v3.8.4rc1, v3.8.5, v3.8.6, v3.8.6rc1; v3.9.0, v3.9.0b4, v3.9.0b5, v3.9.0rc1, v3.9.0rc2.(CVE-2020-14422)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2021-33503 | KY3.4-5A | python-pip | Fixed |
CVE-2020-14422 | KY3.4-5A | python-pip | Fixed |
软件名称 | 架构 | 版本号 |
---|---|---|
python3-pip | noarch | 20.2.2-6.kb1.ky3_4 |
python-pip-wheel | noarch | 20.2.2-6.kb1.ky3_4 |
python2-pip | noarch | 20.2.2-6.kb1.ky3_4 |
python-pip-help | noarch | 20.2.2-6.kb1.ky3_4 |
方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm
方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名