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

high Nessus Plugin ID 239325

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

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

CVE-2024-0985:
A flaw was found in PostgreSQL. A late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL can allow an object creator to execute arbitrary SQL functions as the command issuer. The command intends to run SQL functions as the owner of the materialized view, enabling a safe refresh of untrusted materialized views. The attack requires luring the victim, a superuser or member of one of the attacker's roles, into running REFRESH MATERIALIZED VIEW CONCURRENTLY on the attacker's materialized view.

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

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

Plugin Details

Severity: High

ID: 239325

File Name: tencentos_TSSA_2024_0087.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: 2/26/2024

Vulnerability Publication Date: 2/26/2024