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

摘要:

python-pymongo security update

安全等级: Medium

公告ID: KylinSec-SA-2024-2371

发布日期: 2024年4月12日

关联CVE: CVE-2024-21506  

  • 详细介绍

1. 漏洞描述

   

The PyMongo distribution contains tools for interacting with \ MongoDB database from Python.\ PyMongo supports MongoDB 2.6, 3.0, 3.2, 3.4, 3.6, 4.0 and 4.2.

Security Fix(es):

Versions of the package pymongo before 4.6.3 are vulnerable to Out-of-bounds Read in the bson module. Using the crafted payload the attacker could force the parser to deserialize unmanaged memory. The parser tries to interpret bytes next to buffer and throws an exception with string. If the following bytes are not printable UTF-8 the parser throws an exception with a single byte.(CVE-2024-21506)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-21506 KY3.5.2 python-pymongo Fixed

3. 影响组件

    python-pymongo

4. 修复版本

   

KY3.5.2

软件名称 架构 版本号
python-pymongo-help noarch 3.11.3-3.ky3_5
python3-pymongo-gridfs x86_64 3.11.3-3.ky3_5
python3-pymongo x86_64 3.11.3-3.ky3_5
python3-bson x86_64 3.11.3-3.ky3_5
python3-pymongo aarch64 3.11.3-3.ky3_5
python3-pymongo-gridfs aarch64 3.11.3-3.ky3_5
python3-bson aarch64 3.11.3-3.ky3_5

5. 修复方法


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

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

6. 下载链接

   

KY3.5.2:

x86_64:

     python-pymongo-help   

     python3-pymongo-gridfs   

     python3-pymongo   

     python3-bson   

aarch64:

     python-pymongo-help   

     python3-pymongo   

     python3-pymongo-gridfs   

     python3-bson   

上一篇:KylinSec-SA-2024-2369 下一篇:KylinSec-SA-2024-2372