PostgreSQL non-owner REFRESH MATERIALIZED VIEW CONCURRENTLY executes arbitrary SQL
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n/a | PostgreSQL | unaffected |
|
Configuration 1 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | |||
| postgresql:10-8090020240213200157.a75119d5 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:0956 | 2024-02-26T00:00:00Z |
| postgresql:15-8090020240209124629.a75119d5 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:0973 | 2024-02-26T00:00:00Z |
| postgresql:12-8090020240209130909.a75119d5 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:0974 | 2024-02-26T00:00:00Z |
| postgresql:13-8090020240209125046.a75119d5 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:0975 | 2024-02-26T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | |||
| postgresql:12-8020020240214021628.4cda2c84 | cpe:/a:redhat:rhel_aus:8.2 | RHSA-2024:1071 | 2024-03-04T00:00:00Z |
| postgresql:10-8020020240229083218.4cda2c84 | cpe:/a:redhat:rhel_aus:8.2 | RHSA-2024:1422 | 2024-03-19T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Telecommunications Update Service | |||
| postgresql:12-8020020240214021628.4cda2c84 | cpe:/a:redhat:rhel_tus:8.2 | RHSA-2024:1071 | 2024-03-04T00:00:00Z |
| postgresql:10-8020020240229083218.4cda2c84 | cpe:/a:redhat:rhel_tus:8.2 | RHSA-2024:1422 | 2024-03-19T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | |||
| postgresql:12-8020020240214021628.4cda2c84 | cpe:/a:redhat:rhel_e4s:8.2 | RHSA-2024:1071 | 2024-03-04T00:00:00Z |
| postgresql:10-8020020240229083218.4cda2c84 | cpe:/a:redhat:rhel_e4s:8.2 | RHSA-2024:1422 | 2024-03-19T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | |||
| postgresql:12-8040020240214080556.522a0ee4 | cpe:/a:redhat:rhel_aus:8.4 | RHSA-2024:1195 | 2024-03-06T00:00:00Z |
| postgresql:10-8040020240226112406.522a0ee4 | cpe:/a:redhat:rhel_aus:8.4 | RHSA-2024:1429 | 2024-03-19T00:00:00Z |
| postgresql:13-8040020240222071300.522a0ee4 | cpe:/a:redhat:rhel_aus:8.4 | RHSA-2024:1437 | 2024-03-20T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | |||
| postgresql:12-8040020240214080556.522a0ee4 | cpe:/a:redhat:rhel_tus:8.4 | RHSA-2024:1195 | 2024-03-06T00:00:00Z |
| postgresql:10-8040020240226112406.522a0ee4 | cpe:/a:redhat:rhel_tus:8.4 | RHSA-2024:1429 | 2024-03-19T00:00:00Z |
| postgresql:13-8040020240222071300.522a0ee4 | cpe:/a:redhat:rhel_tus:8.4 | RHSA-2024:1437 | 2024-03-20T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | |||
| postgresql:12-8040020240214080556.522a0ee4 | cpe:/a:redhat:rhel_e4s:8.4 | RHSA-2024:1195 | 2024-03-06T00:00:00Z |
| postgresql:10-8040020240226112406.522a0ee4 | cpe:/a:redhat:rhel_e4s:8.4 | RHSA-2024:1429 | 2024-03-19T00:00:00Z |
| postgresql:13-8040020240222071300.522a0ee4 | cpe:/a:redhat:rhel_e4s:8.4 | RHSA-2024:1437 | 2024-03-20T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Extended Update Support | |||
| postgresql:12-8060020240214083443.ad008a3a | cpe:/a:redhat:rhel_eus:8.6 | RHSA-2024:1070 | 2024-03-04T00:00:00Z |
| postgresql:13-8060020240219120118.ad008a3a | cpe:/a:redhat:rhel_eus:8.6 | RHSA-2024:1315 | 2024-03-13T00:00:00Z |
| postgresql:10-8060020240220155541.ad008a3a | cpe:/a:redhat:rhel_eus:8.6 | RHSA-2024:1348 | 2024-03-18T00:00:00Z |
| Red Hat Enterprise Linux 8.8 Extended Update Support | |||
| postgresql:15-8080020240220104521.63b34585 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2024:1017 | 2024-02-28T00:00:00Z |
| postgresql:12-8080020240214025906.63b34585 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2024:1069 | 2024-03-04T00:00:00Z |
| postgresql:13-8080020240221110841.63b34585 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2024:1426 | 2024-03-19T00:00:00Z |
| postgresql:10-8080020240227061409.63b34585 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2024:1428 | 2024-03-19T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| postgresql:15-9030020240209100638.rhel9 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:0950 | 2024-02-22T00:00:00Z |
| postgresql-0:13.14-1.el9_3 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:0951 | 2024-02-22T00:00:00Z |
| Red Hat Enterprise Linux 9.0 Extended Update Support | |||
| postgresql-0:13.14-1.el9_0 | cpe:/a:redhat:rhel_eus:9.0 | RHSA-2024:1240 | 2024-03-11T00:00:00Z |
| Red Hat Enterprise Linux 9.2 Extended Update Support | |||
| postgresql-0:13.14-1.el9_2 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2024:1241 | 2024-03-11T00:00:00Z |
| postgresql:15-9020020240213145157.rhel9 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2024:1314 | 2024-03-13T00:00:00Z |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | |||
| rh-postgresql13-postgresql-0:13.14-1.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2024:0988 | 2024-02-26T00:00:00Z |
| rh-postgresql12-postgresql-0:12.18-1.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2024:0990 | 2024-02-26T00:00:00Z |
| rh-postgresql10-postgresql-0:10.23-3.el7 | cpe:/a:redhat:rhel_software_collections:3::el7 | RHSA-2024:0992 | 2024-02-26T00:00:00Z |
No data available yet.
Vendor Workaround
Use REFRESH MATERIALIZED VIEW without CONCURRENTLY.
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3764-1 | postgresql-11 security update |
Debian DSA |
DSA-5622-1 | postgresql-13 security update |
Debian DSA |
DSA-5623-1 | postgresql-15 security update |
EUVD |
EUVD-2024-16762 | 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. |
Ubuntu USN |
USN-6656-1 | PostgreSQL vulnerability |
Ubuntu USN |
USN-6656-2 | PostgreSQL vulnerability |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.8% (1.808% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|