cbcvebase.
CVE-2024-0985
published 2024-02-08

CVE-2024-0985: Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command issuer…

PriorityP349high8CVSS 3.1
AVNACLPRLUIRSUCHIHAH
EPSS
1.47%
70.7th percentile
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.

Affected

19 ranges
VendorProductVersion rangeFixed in
debianpostgresql-13< postgresql-13 13.14-0+deb11u1 (bullseye)postgresql-13 13.14-0+deb11u1 (bullseye)
debianpostgresql-15< postgresql-13 13.14-0+deb11u1 (bullseye)postgresql-13 13.14-0+deb11u1 (bullseye)
msrcazl3_postgresql_16.1-1_on_azure_linux_3.0
msrcazl3_postgresql_16.3-1_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_postgresql_14.10-1_on_cbl_mariner_2.0
msrccbl2_postgresql_14.11-1_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
postgresqlpostgresql< 12.1812.18
postgresqlpostgresql>= 12.0 < 12.1812.18
postgresqlpostgresql>= 13 < 13.1413.14
postgresqlpostgresql>= 13.0 < 13.1413.14
postgresqlpostgresql>= 14 < 14.1114.11
postgresqlpostgresql>= 14.0 < 14.1114.11
postgresqlpostgresql>= 15 < 15.615.6
postgresqlpostgresql>= 15.0 < 15.615.6
postgresqlpostgresql>= 16 < 16.216.2

CVSS provenance

nvdv3.18.0HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
osv8.0HIGH
vendor_debian8.0HIGH
vendor_msrc8.0HIGH
vendor_redhat8.0HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.