Privilege Management Errors Affecting postgresql package, versions [,12.18)[13.0.0,13.14)[14.0.0,14.11)[15.0.0,15.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-POSTGRESQL-6247640
  • published15 Feb 2024
  • disclosed8 Feb 2024
  • creditUnknown

Introduced: 8 Feb 2024

CVE-2024-0985  (opens in a new tab)
CWE-271  (opens in a new tab)

How to fix?

Upgrade postgresql to version 12.18, 13.14, 14.11, 15.6 or higher.

Overview

Affected versions of this package are vulnerable to Privilege Management Errors due to the improper handling of the REFRESH MATERIALIZED VIEW CONCURRENTLY statement. An attacker can execute arbitrary SQL commands by convincing a user with the necessary privileges to run it on the attacker's view, which has CREATE RULE rules based on it with higher-privileged function execution.

CVSS Scores

version 3.1