Incomplete Cleanup Affecting postgresql-12 package, versions <12.11-0ubuntu0.20.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.26% (66th 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-UBUNTU2004-POSTGRESQL12-2836482
  • published18 May 2022
  • disclosed31 Aug 2022

Introduced: 18 May 2022

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

How to fix?

Upgrade Ubuntu:20.04 postgresql-12 to version 12.11-0ubuntu0.20.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-12 package and not the postgresql-12 package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 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 Base Scores

version 3.1