CVSS 3.1 Score 8.0 of 10 (high)


Published Feb 8, 2024
Updated: Mar 18, 2024
CWE ID 271


CVE-2024-0985 is a vulnerability in PostgreSQL versions before 15.6, 14.11, 13.14, and 12.18 that allows an object creator to execute arbitrary SQL functions as the command issuer. This vulnerability can be exploited by luring a victim, who is a superuser or member of the attacker's roles, into running the "REFRESH MATERIALIZED VIEW CONCURRENTLY" command on the attacker's materialized view. As a result, the attacker can create functions to convert the internally-built temporary table to a view using CREATE RULE. The known exploit does not work in PostgreSQL 16 and later versions. Organizations using affected versions should update to PostgreSQL 15.6, 14.11, 13.14, or 12.18 to remediate this vulnerability and prevent potential unauthorized execution of SQL functions with elevated privileges.

Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.


Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future

Note: This is just a basic overview providing quick insights into CVE-2024-0985 information. Gain full access to comprehensive CVE data, third party vulnerabilities, compromised credentials and more with Recorded Future
  • Gain complete coverage of your cyber, third party, and physical attack surface
  • Proactively mitigate threats before they turn into costly attacks
  • Make fast, effective, data-driven decisions