TencentOS Server 3: postgresql:15 (TSSA-2025:0779)

high Nessus Plugin ID 270638

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

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

CVE-2025-4207:
Buffer over-read in PostgreSQL GB18030 encoding validation allows a database input provider to achieve temporary denial of service on platforms where a 1-byte over-read can elicit process termination. This affects the database server and also libpq. Versions before PostgreSQL 17.5, 16.9, 15.13, 14.18, and 13.21 are affected.

CVE-2025-8714:
Untrusted data inclusion in pg_dump in PostgreSQL allows a malicious superuser of the origin server to inject arbitrary code for restore-time execution as the client operating system account running psql to restore the dump, via psql meta-commands. pg_dumpall is also affected. pg_restore is affected when used to generate a plain-format dump. This is similar to MySQL CVE-2024-21096. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected.

CVE-2025-8715:
Improper neutralization of newlines in pg_dump in PostgreSQL allows a user of the origin server to inject arbitrary code for restore-time execution as the client operating system account running psql to restore the dump, via psql meta-commands inside a purpose-crafted object name. The same attacks can achieve SQL injection as a superuser of the restore target server. pg_dumpall, pg_restore, and pg_upgrade are also affected. Versions before PostgreSQL 17.6, 16.10, 15.14, 14.19, and 13.22 are affected. Versions before 11.20 are unaffected. CVE-2012-0868 had fixed this class of problem, but version 11.20 reintroduced it.

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

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

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

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

Plugin Details

Severity: High

ID: 270638

File Name: tencentos_TSSA_2025_0779.nasl

Version: 1.1

Type: local

Published: 10/16/2025

Updated: 10/16/2025

Supported Sensors: Nessus

Vulnerability Information

CPE: cpe:/o:tencent:tencentos_server:3, p-cpe:/a:tencent:tencentos_server:postgresql, p-cpe:/a:tencent:tencentos_server:pgaudit, p-cpe:/a:tencent:tencentos_server:postgres-decoderbufs, p-cpe:/a:tencent:tencentos_server:pg_repack

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: 9/2/2025

Vulnerability Publication Date: 9/2/2025