CVE-2024-0985
Last modified
CVE-2024-0985 is a high-severity vulnerability rated 8/10 on the CVSS scale. 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. EPSS estimates a 1.47% chance of exploitation in the next 30 days.
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 before PostgreSQL 16.2, 15.6, 14.11, 13.14, and 12.18 are affected.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Postgresql | Postgresql | >= 12.0, < 12.18 |
| Postgresql | Postgresql | >= 13.0, < 13.14 |
| Postgresql | Postgresql | >= 14.0, < 14.11 |
| Postgresql | Postgresql | >= 15.0, < 15.6 |
References
- https://www.postgresql.org/support/security/CVE-2024-0985/Vendor Advisory
- https://www.postgresql.org/support/security/CVE-2024-0985/Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-0985?
How severe is CVE-2024-0985?
How do I fix CVE-2024-0985?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-0978The My Private Site plugin for WordPress is vulnerable to Se…5.3
- CVE-2024-0979The Dashboard Widgets Suite plugin for WordPress is vulnerab…6.1
- CVE-2024-0980The Auto-update service for Okta Verify for Windows is vulne…7.1
- CVE-2024-0981Okta Browser Plugin versions 6.5.0 through 6.31.0 (Chrome/Ed…7.1
- CVE-2024-0983The ImageRecycle pdf & image compression plugin for WordPres…4.3
- CVE-2024-0984The ImageRecycle pdf & image compression plugin for WordPres…4.3
- CVE-2024-0986A vulnerability was found in Issabel PBX 4.0.0. It has been …9.8
- CVE-2024-0987A vulnerability classified as critical has been found in Sic…9.8
- CVE-2024-0988A vulnerability classified as critical was found in Sichuan …9.8
- CVE-2024-0989A vulnerability, which was classified as problematic, has be…9.8
- CVE-2024-0990A vulnerability, which was classified as critical, was found…9.8
- CVE-2024-0991A vulnerability has been found in Tenda i6 1.0.0.9(3857) and…9.8
Are you affected by CVE-2024-0985?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
