VDB

ALPINE-CVE-2024-0985

ALPINE-CVE-2024-0985 PUBLISHED CVSS 8 HIGH

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.

Risk Scores

CVSS 3.1
8
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Alpine:v3.16postgresql1414.8-r0, 14.10-r0, 14.1-r6
Alpine:v3.19postgresql1616.0-r0, 16.0-r0, 16.0-r1
Alpine:v3.19postgresql1515.3-r1, 15.3-r0, 15.2-r4
Alpine:v3.20postgresql1515.3-r1, 15.3-r0, 15.3-r1
Alpine:v3.22postgresql160, 16.0-r0, 16.0-r1
Alpine:v3.17postgresql148.3.7-r2, 11.4-r1, 0
Alpine:v3.16postgresql1313.11-r0, 13.12-r0, 13.13-r0
Alpine:v3.17postgresql1515.5-r0, 15.4-r0, 15.3-r0
Alpine:v3.18postgresql1515.1-r1, 15.2-r4, 15.2-r3
Alpine:v3.20postgresql1616.0-r2, 16.0-r0, 16.0-r1
Alpine:v3.21postgresql1616.1-r0, 0, 16.0-r2
Alpine:v3.18postgresql149.3.3-r0, 9.3.2-r0, 9.3.1-r0

Exploit Intelligence

Timeline

  • Feb 8, 2024 CVE Published
  • Nov 19, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›