CVE-2024-0985Privilege Dropping / Lowering Errors in Postgresql

Severity
8.0HIGHNVD
EPSS
0.8%
top 26.74%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 8
Latest updateAug 15

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 be

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HExploitability: 2.1 | Impact: 5.9

Affected Packages12 packages

debiandebian/postgresql-13< postgresql-13 13.14-0+deb11u1 (bullseye)
debiandebian/postgresql-15< postgresql-13 13.14-0+deb11u1 (bullseye)
CVEListV5postgresql/postgresql1616.2+4
NVDpostgresql/postgresql12.012.18+3

🔴Vulnerability Details

2
OSV
CVE-2024-0985: Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command2024-02-08
GHSA
GHSA-4828-5p9m-g4ff: Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command2024-02-08

📋Vendor Advisories

6
CISA ICS
Siemens SINEC NMS2024-08-15
Ubuntu
PostgreSQL vulnerability2024-03-12
Ubuntu
PostgreSQL vulnerability2024-02-26
Microsoft
PostgreSQL non-owner REFRESH MATERIALIZED VIEW CONCURRENTLY executes arbitrary SQL2024-02-13
Red Hat
postgresql: non-owner 'REFRESH MATERIALIZED VIEW CONCURRENTLY' executes arbitrary SQL2024-02-08