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.3-r0, 14.4-r0, 14.1-r7
Alpine:v3.19postgresql1616.0-r0, 16.0-r1, 16.0-r2
Alpine:v3.19postgresql1515.3-r1, 15.3-r0, 15.2-r4
Alpine:v3.20postgresql1515.3-r0, 15.4-r1, 15.1-r0
Alpine:v3.22postgresql1616.0-r0, 16.0-r1, 0
Alpine:v3.17postgresql148.3.5-r0, 11.4-r1, 0
Alpine:v3.16postgresql1313.7-r0, 0, 0
Alpine:v3.17postgresql1515.4-r0, 0, 0
Alpine:v3.18postgresql1515.5-r0, 15.4-r0, 15.3-r0
Alpine:v3.20postgresql1616.0-r1, 16.0-r2, 16.1-r0
Alpine:v3.21postgresql1616.0-r2, 16.0-r1, 0
Alpine:v3.18postgresql149.2.4-r0, 9.2.3-r0, 9.2.2-r0

Timeline

  • Feb 8, 2024 CVE Published
  • Jun 15, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›