TencentOS Server 3: python39:3.9 (TSSA-2025:0823)

high Nessus Plugin ID 271126

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-2025:0823 advisory.

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

CVE-2025-8194:
There is a defect in the CPython tarfile module affecting the TarFile extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives.

This vulnerability can be mitigated by including the following patch after importing the tarfile module: https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1

CVE-2025-47273:
setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. A path traversal vulnerability in PackageIndex is present in setuptools prior to version 78.1.1.
An attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to remote code execution depending on the context. Version 78.1.1 fixes the issue.

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

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-8194

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-47273

Plugin Details

Severity: High

ID: 271126

File Name: tencentos_TSSA_2025_0823.nasl

Version: 1.1

Type: local

Published: 10/22/2025

Updated: 10/22/2025

Supported Sensors: Nessus

Vulnerability Information

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

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/28/2025

Vulnerability Publication Date: 8/28/2025