TencentOS Server 4: python-pymongo (TSSA-2024:0921)

high Nessus Plugin ID 239806

Synopsis

The remote TencentOS Server 4 host is missing one or more security updates.

Description

The version of Tencent Linux installed on the remote TencentOS Server 4 host is prior to tested version. It is, therefore, affected by multiple vulnerabilities as referenced in the TSSA-2024:0921 advisory.

Package updates are available for TencentOS Server 4 that fix the following vulnerabilities:

CVE-2024-5629:
An out-of-bounds read in the 'bson' module of PyMongo 4.6.2 or earlier allows deserialization of malformed BSON provided by a Server to raise an exception which may contain arbitrary application memory.

CVE-2024-21506:
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.

Tenable has extracted the preceding description block directly from the Tencent Linux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://mirrors.tencent.com/tlinux/errata/tssa-20240921.xml

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21506

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-5629

Plugin Details

Severity: High

ID: 239806

File Name: tencentos_TSSA_2024_0921.nasl

Version: 1.1

Type: local

Published: 6/16/2025

Updated: 6/16/2025

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:tencent:tencentos_server:python-pymongo, cpe:/o:tencent:tencentos_server:4

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/etc/os-release, Host/TencentOS/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 11/20/2024

Vulnerability Publication Date: 11/20/2024