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. Versions before PostgreSQL 16.2, 15.6, 14.11, 13.14, and 12.18 are affected.
Published 2024-02-08 13:15:09
Updated 2024-12-20 13:15:19
Source PostgreSQL
View at NVD,   CVE.org

Products affected by CVE-2024-0985

Exploit prediction scoring system (EPSS) score for CVE-2024-0985

0.24%
Probability of exploitation activity in the next 30 days EPSS Score History
~ 48 %
Percentile, the proportion of vulnerabilities that are scored at or less

CVSS scores for CVE-2024-0985

Base Score Base Severity CVSS Vector Exploitability Score Impact Score Score Source First Seen
8.0
HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
2.1
5.9
PostgreSQL 2024-02-08
8.0
HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
2.1
5.9
NIST 2024-02-15
8.0
HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
N/A
N/A
RedHat-CVE-2024-0985 2024-02-08

CWE ids for CVE-2024-0985

  • The product does not drop privileges before passing control of a resource to an actor that does not have those privileges.
    Assigned by: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 (Secondary)

References for CVE-2024-0985

Jump to
This web site uses cookies for managing your session, storing preferences, website analytics and additional purposes described in our privacy policy.
By using this web site you are agreeing to CVEdetails.com terms of use!