TencentOS Server 4: python3.11 (TSSA-2025:0651)

high Nessus Plugin ID 253475

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 a vulnerability as referenced in the TSSA-2025:0651 advisory.

Package updates are available for TencentOS Server 4 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:



import tarfile

def _block_patched(self, count):
if count < 0: # pragma: no cover raise tarfile.InvalidHeaderError(invalid offset) return _block_patched._orig_block(self, count)

_block_patched._orig_block = tarfile.TarInfo._block tarfile.TarInfo._block = _block_patched

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

Note that Nessus has not tested for this issue 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-20250651.xml

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

Plugin Details

Severity: High

ID: 253475

File Name: tencentos_TSSA_2025_0651.nasl

Version: 1.1

Type: local

Published: 8/21/2025

Updated: 8/21/2025

Supported Sensors: Nessus

Vulnerability Information

CPE: p-cpe:/a:tencent:tencentos_server:python3.11, cpe:/o:tencent:tencentos_server:4

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/18/2025

Vulnerability Publication Date: 8/18/2025