Incorrect Authorization Affecting postgresql package, versions [,10.21) [11.0, 11.6) [12.0, 12.11) [13.0, 13.7) [14.0, 14.7)


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.24% (62nd percentile)
Expand this section
NVD
8.8 high
Expand this section
SUSE
8.8 high
Expand this section
Red Hat
8.8 high

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 ID SNYK-UNMANAGED-POSTGRESQL-2825193
  • published 15 May 2022
  • disclosed 12 May 2022
  • credit Alexander Lakhin

How to fix?

Upgrade postgresql to version 10.21, 11.6, 12.11, 13.7, 14.7 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization due to incomplete efforts to operate safely when a privileged user is maintaining another user's objects. The Autovacuum, REINDEX, CREATE INDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and pg_amcheck commands activated relevant protections too late or not at all during the process. This flaw allows an attacker with permission to create non-temporary objects in at least one schema to execute arbitrary SQL functions under a superuser identity.