All vulnerabilities

Servers and applications

CVE-2024-0985

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…

Severity
High 8.0
Published
8 Feb 2024
Last changed
17 Jun 2026
Added to UpHeron
16 Oct 2026
Fixed in
12.18, 13.14, 14.11, 15.6
Sources
NVD

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cpe:a:postgresql:postgresql
  • From 12.0 before 12.18
  • From 13.0 before 13.14
  • From 14.0 before 14.11
  • From 15.0 before 15.6

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-0985
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-0985