Vulnerability   
Search   
    Search 324607 CVE descriptions
and 145615 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

Test ID:1.3.6.1.4.1.25623.1.0.114331
Category:Databases
Title:PostgreSQL 12.x < 12.18, 13.x < 13.14, 14.x < 14.11, 15.x < 15.6, 16.x < 16.1 Privilege Escalation Vulnerability - Linux
Summary:PostgreSQL is prone to a privilege escalation vulnerability.
Description:Summary:
PostgreSQL is prone to a privilege escalation vulnerability.

Vulnerability Insight:
Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in
PostgreSQL allows 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 safe refresh
of untrusted materialized views. The victim is a superuser or member of one of the attacker's
roles. The attack requires luring the victim into running REFRESH MATERIALIZED VIEW CONCURRENTLY
on the attacker's materialized view. As part of exploiting this vulnerability, the attacker
creates functions that use CREATE RULE to convert the internally-built temporary table to a
view.

Affected Software/OS:
PostgreSQL version 12.x prior to 12.18, 13.x prior to 13.14,
14.x prior to 14.11 and 15.x prior to 15.6.

The only known exploit does not work in PostgreSQL 16 and later. For defense in depth, PostgreSQL
16.2 adds the protections that older branches are using to fix their vulnerability.

Solution:
Update to version 12.18, 13.14, 14.11, 15.6 or later.

CVSS Score:
9.0

CVSS Vector:
AV:N/AC:L/Au:S/C:C/I:C/A:C

Cross-Ref: Common Vulnerability Exposure (CVE) ID: CVE-2024-0985
https://lists.debian.org/debian-lts-announce/2024/03/msg00017.html
https://www.postgresql.org/support/security/CVE-2024-0985/
CopyrightCopyright (C) 2024 Greenbone AG

This is only one of 145615 vulnerability tests in our test suite. Find out more about running a complete security audit.

To run a free test of this vulnerability against your system, register below.




© 1998-2025 E-Soft Inc. All rights reserved.