• 公告ID (KylinSec-SA-2024-3626)

摘要:

python3 security update

安全等级: High

公告ID: KylinSec-SA-2024-3626

发布日期: 2024年9月6日

关联CVE: CVE-2024-6923   CVE-2024-7592   CVE-2024-8088  

  • 详细介绍

1. 漏洞描述

   

Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems. New built-in modules are easily written in C or C++ (or other languages, depending on the chosen implementation). Python is also usable as an extension language for applications written in other languages that need easy-to-use scripting or automation interfaces.

Security Fix(es):

There is a MEDIUM severity vulnerability affecting CPython.

The
email module didn’t properly quote newlines for email headers when
serializing an email message allowing for header injection when an email
is serialized.(CVE-2024-6923)

There is a LOW severity vulnerability affecting CPython, specifically the
'http.cookies' standard library module.


When parsing cookies that contained backslashes for quoted characters in
the cookie value, the parser would use an algorithm with quadratic
complexity, resulting in excess CPU resources being used while parsing the
value.(CVE-2024-7592)

There is a HIGH severity vulnerability affecting the CPython "zipfile"
module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class is unaffected.





When iterating over names of entries in a zip archive (for example, methods
of "zipfile.Path" like "namelist()", "iterdir()", etc)
the process can be put into an infinite loop with a maliciously crafted
zip archive. This defect applies when reading only metadata or extracting
the contents of the zip archive. Programs that are not handling
user-controlled zip archives are not affected.(CVE-2024-8088)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-6923 KY3.5.2 python3 Fixed
CVE-2024-7592 KY3.5.2 python3 Fixed
CVE-2024-8088 KY3.5.2 python3 Fixed

3. 影响组件

    python3

4. 修复版本

   

KY3.5.2

软件名称 架构 版本号
python3-help noarch 3.9.9-31.ky3_5
python3 x86_64 3.9.9-31.ky3_5
python3-devel x86_64 3.9.9-31.ky3_5
python3-unversioned-command x86_64 3.9.9-31.ky3_5
python3 aarch64 3.9.9-31.ky3_5
python3-devel aarch64 3.9.9-31.ky3_5
python3-unversioned-command aarch64 3.9.9-31.ky3_5

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

KY3.5.2:

x86_64:

     python3-help   

     python3   

     python3-devel   

     python3-unversioned-command   

aarch64:

     python3-help   

     python3   

     python3-devel   

     python3-unversioned-command   

上一篇:KylinSec-SA-2024-3625 下一篇:KylinSec-SA-2024-3855