TencentOS Server 3: python39:3.9 and python39-devel:3.9 (TSSA-2024:1161)

high Nessus Plugin ID 330777

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-2024:1161 advisory.

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

CVE-2022-40897:
A flaw was found in Python Setuptools due to a regular expression Denial of Service (ReDoS) present in package_index.py. This issue could allow a remote attacker to cause a denial of service via HTML in a crafted package or custom PackageIndex page.

CVE-2023-23931:
A vulnerability was found in python-cryptography. In affected versions, `Cipher.update_into` would accept Python objects which implement the buffer protocol but provide only immutable buffers. This issue allows immutable objects (such as `bytes`) to be mutated, thus violating the fundamental rules of Python, resulting in corrupted output.

CVE-2023-27043:
The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2822 header is identified as the value of the addr-spec. In some applications, an attacker can bypass a protection mechanism in which application access is granted only after verifying receipt of e-mail to a specific domain (e.g., only @company.example.com addresses may be used for signup). This occurs in email/_parseaddr.py in recent versions of Python.

CVE-2023-43804:
A flaw was found in urllib3, a user-friendly HTTP client library for Python. urllib3 doesn't treat the `Cookie` HTTP header special or provide any helpers for managing cookies over HTTP, which is the responsibility of the user. However, it is possible for a user to specify a `Cookie` header and unknowingly leak information via HTTP redirects to a different origin if that user doesn't disable redirects explicitly.

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

Plugin Details

Severity: High

ID: 330777

File Name: tencentos_TSSA_2024_1161.nasl

Version: 1.1

Type: Local

Published: 7/29/2026

Updated: 7/29/2026

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.66

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.7

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

CVSS Score Source: CVE-2023-43804

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.3

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

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

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 7.7

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:L/SI:L/SA:N

CVSS Score Source: CVE-2022-40897

Vulnerability Information

CPE: cpe:/o:tencent:tencentos_server:3, p-cpe:/a:tencent:tencentos_server:cython, p-cpe:/a:tencent:tencentos_server:mod_wsgi, p-cpe:/a:tencent:tencentos_server:numpy, p-cpe:/a:tencent:tencentos_server:pybind11, p-cpe:/a:tencent:tencentos_server:pytest, p-cpe:/a:tencent:tencentos_server:python-attrs, p-cpe:/a:tencent:tencentos_server:python-cffi, p-cpe:/a:tencent:tencentos_server:python-chardet, p-cpe:/a:tencent:tencentos_server:python-cryptography, p-cpe:/a:tencent:tencentos_server:python-idna, p-cpe:/a:tencent:tencentos_server:python-iniconfig, p-cpe:/a:tencent:tencentos_server:python-lxml, p-cpe:/a:tencent:tencentos_server:python-more-itertools, p-cpe:/a:tencent:tencentos_server:python-packaging, p-cpe:/a:tencent:tencentos_server:python-pluggy, p-cpe:/a:tencent:tencentos_server:python-ply, p-cpe:/a:tencent:tencentos_server:python-psutil, p-cpe:/a:tencent:tencentos_server:python-psycopg2, p-cpe:/a:tencent:tencentos_server:python-py, p-cpe:/a:tencent:tencentos_server:python-pycparser, p-cpe:/a:tencent:tencentos_server:python-pymysql, p-cpe:/a:tencent:tencentos_server:python-pysocks, p-cpe:/a:tencent:tencentos_server:python-requests, p-cpe:/a:tencent:tencentos_server:python-toml, p-cpe:/a:tencent:tencentos_server:python-urllib3, p-cpe:/a:tencent:tencentos_server:python-wcwidth, p-cpe:/a:tencent:tencentos_server:python-wheel, p-cpe:/a:tencent:tencentos_server:python39, p-cpe:/a:tencent:tencentos_server:python3x-pip, p-cpe:/a:tencent:tencentos_server:python3x-pyparsing, p-cpe:/a:tencent:tencentos_server:python3x-setuptools, p-cpe:/a:tencent:tencentos_server:python3x-six, p-cpe:/a:tencent:tencentos_server:pyyaml, p-cpe:/a:tencent:tencentos_server:scipy

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/22/2024

Vulnerability Publication Date: 12/22/2022

Reference Information

CVE: CVE-2022-40897, CVE-2023-23931, CVE-2023-27043, CVE-2023-43804

IAVA: 2023-A-0442-S