CVE-2024-0985 Details
Description
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 16, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
| CWE-271 | Privilege Dropping / Lowering Errors | PostgreSQL |
Affected Products
| Product | Versions |
|---|---|
| postgresql postgresql | >= 12.0, < 12.18 >= 13.0, < 13.14 >= 14.0, < 14.11 >= 15.0, < 15.6 |
CPE
Remediation
| |
Change History
10 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | PostgreSQL |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 20, 2024 | CVE Modified | CVE |
| Nov 21, 2024 | CVE Modified | CVE |
| Jul 10, 2024 | CVE Modified | PostgreSQL |
| Jun 20, 2024 | CVE Modified | PostgreSQL |
| May 14, 2024 | CVE Modified | PostgreSQL |
| Mar 18, 2024 | CVE Modified | PostgreSQL |
| Feb 15, 2024 | Initial Analysis | [email protected] |
| Feb 8, 2024 | New CVE Received | PostgreSQL |