TencentOS Server 4: python3.12 (TSSA-2025:0006)

high Nessus Plugin ID 239592

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:0006 advisory.

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

CVE-2024-12254:
Starting in Python 3.12.0, the asyncio._SelectorSocketTransport.writelines() method would not pause writing and signal to the Protocol to drain the buffer to the wire once the write buffer reached the high-water mark. Because of this, Protocols would not periodically drain the write buffer potentially leading to memory exhaustion. This vulnerability likely impacts a small number of users, you must be using Python 3.12.0 or later, on macOS or Linux, using the asyncio module with protocols, and using .writelines() method which had new zero-copy-on-write behavior in Python 3.12.0 and later. If not all of these factors are true then your usage of Python is unaffected.

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

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

Plugin Details

Severity: High

ID: 239592

File Name: tencentos_TSSA_2025_0006.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:python3.12, 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: 1/13/2025

Vulnerability Publication Date: 1/13/2025