CVE-2024-0985
PostgreSQL non-owner REFRESH MATERIALIZED VIEW CONCURRENTLY executes arbitrary SQL
8.0
HIGH
CVSS 3.1
EPSS 1.5%
描述
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.
如何修補 CVE-2024-0985
要修補 CVE-2024-0985,請將受影響套件升級到下列已修補版本。
- —升級至 13.14-r0 或更新版本
- —升級至 14.11-r0 或更新版本
- —升級至 15.6-r0 或更新版本
- —升級至 16.2-r0 或更新版本
- —升級至 12.18.0 或更新版本
- —升級至 11.22-0+deb10u2 或更新版本
- —升級至 13.14-0+deb11u1 或更新版本
- —升級至 13.14-0+deb11u1 或更新版本
- —升級至 15.6-0+deb12u1 或更新版本
- —升級至 15.6-0+deb12u1 或更新版本
CVE-2024-0985 正在被利用嗎?
低 — EPSS 為 1.5%,目前沒有觀察到大規模利用活動。
受影響套件(10)
- from 0, < 13.14-r0
- from 0, < 14.11-r0
- from 0, < 15.6-r0
- from 0, < 16.2-r0
- >= 12.0.0, < 12.18.0, >= 13.0.0, < 13.14.0, >= 14.0.0, < 14.11.0, >= 15.0.0, < 15.6.0
- from 0, < 11.22-0+deb10u2
- from 0, < 13.14-0+deb11u1
- from 0, < 13.14-0+deb11u1
- from 0, < 15.6-0+deb12u1
- from 0, < 15.6-0+deb12u1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |