TencentOS Server 3: python39 and python39-devel (TSSA-2023:0114)

high Nessus Plugin ID 276416

Synopsis

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

Description

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

Package updates are available for TencentOS Server 3 that fix the following vulnerabilities:
CVE-2020-10735:
A flaw was found in python. In algorithms with quadratic time complexity using non-binary bases, when using int(text), a system could take 50ms to parse an int string with 100,000 digits and 5s for 1,000,000 digits (float, decimal, int.from_bytes(), and int() for binary bases 2, 4, 8, 16, and 32 are not affected). The highest threat from this vulnerability is to system availability.
CVE-2021-28861:
A vulnerability was found in python. This security flaw causes an open redirection vulnerability in lib/http/server.py due to no protection against multiple (/) at the beginning of the URI path. This issue may lead to information disclosure.
CVE-2022-45061:
A vulnerability was discovered in Python. A quadratic algorithm exists when processing inputs to the IDNA (RFC 3490) decoder, such that a crafted unreasonably long name being presented to the decoder could lead to a CPU denial of service. Hostnames are often supplied by remote servers that could be controlled by a malicious actor, which could trigger excessive CPU consumption on the client attempting to make use of an attacker-supplied hostname.

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-20230114.xml

Plugin Details

Severity: High

ID: 276416

File Name: tencentos_TSSA_2023_0114.nasl

Version: 1.1

Type: local

Published: 11/20/2025

Updated: 11/20/2025

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2021-28861

CVSS v3

Risk Factor: High

Base Score: 7.4

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:tencent:tencentos_server:pyyaml, p-cpe:/a:tencent:tencentos_server:python-chardet, p-cpe:/a:tencent:tencentos_server:python-psutil, p-cpe:/a:tencent:tencentos_server:python-idna, p-cpe:/a:tencent:tencentos_server:python-psycopg2, p-cpe:/a:tencent:tencentos_server:python-wheel, p-cpe:/a:tencent:tencentos_server:python39, cpe:/o:tencent:tencentos_server:3, p-cpe:/a:tencent:tencentos_server:python-ply, p-cpe:/a:tencent:tencentos_server:scipy, p-cpe:/a:tencent:tencentos_server:python-toml, p-cpe:/a:tencent:tencentos_server:python3x-six, p-cpe:/a:tencent:tencentos_server:python-cffi, p-cpe:/a:tencent:tencentos_server:numpy, p-cpe:/a:tencent:tencentos_server:mod_wsgi, p-cpe:/a:tencent:tencentos_server:python-pymysql, p-cpe:/a:tencent:tencentos_server:python-lxml, p-cpe:/a:tencent:tencentos_server:python-pycparser, p-cpe:/a:tencent:tencentos_server:python3x-pip, p-cpe:/a:tencent:tencentos_server:python3x-setuptools, p-cpe:/a:tencent:tencentos_server:python-pysocks, p-cpe:/a:tencent:tencentos_server:python-urllib3, p-cpe:/a:tencent:tencentos_server:python-cryptography, p-cpe:/a:tencent:tencentos_server:python-requests

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/19/2023

Vulnerability Publication Date: 8/23/2022

Reference Information

CVE: CVE-2020-10735, CVE-2021-28861, CVE-2022-45061

IAVA: 2022-A-0467-S, 2023-A-0061-S