TencentOS Server 3: postgresql:12 (TSSA-2024:0772)

high Nessus Plugin ID 239999

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

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

CVE-2024-7348:
Time-of-check Time-of-use (TOCTOU) race condition in pg_dump in PostgreSQL allows an object creator to execute arbitrary SQL functions as the user running pg_dump, which is often a superuser. The attack involves replacing another relation type with a view or foreign table. The attack requires waiting for pg_dump to start, but winning the race condition is trivial if the attacker retains an open transaction.
Versions before PostgreSQL 16.4, 15.8, 14.13, 13.16, and 12.20 are affected.

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

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

Plugin Details

Severity: High

ID: 239999

File Name: tencentos_TSSA_2024_0772.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:postgres-decoderbufs, p-cpe:/a:tencent:tencentos_server:pg_repack, cpe:/o:tencent:tencentos_server:3, p-cpe:/a:tencent:tencentos_server:postgresql, p-cpe:/a:tencent:tencentos_server:pgaudit

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: 8/29/2024

Vulnerability Publication Date: 8/29/2024