Incomplete Cleanup Affecting postgresql-upgrade package, versions <0:12.11-2.module+el8.6.0+979+b6ef1a3a


Severity

Recommended
0.0
high
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.26% (65th 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-ROCKY8-POSTGRESQLUPGRADE-3196936
  • published5 Jan 2023
  • disclosed31 Aug 2022

Introduced: 31 Aug 2022

CVE-2022-1552  (opens in a new tab)
CWE-459  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 postgresql-upgrade to version 0:12.11-2.module+el8.6.0+979+b6ef1a3a or higher.
This issue was patched in RLSA-2022:4807.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-upgrade package and not the postgresql-upgrade package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

A flaw was found in PostgreSQL. There is an issue with 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.

CVSS Scores

version 3.1