Incomplete Cleanup Affecting postgresql12 package, versions <12.11-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-ALPINE317-POSTGRESQL12-3143389
  • published14 May 2022
  • disclosed31 Aug 2022

Introduced: 14 May 2022

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

How to fix?

Upgrade Alpine:3.17 postgresql12 to version 12.11-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql12 package and not the postgresql12 package as distributed by Alpine. See How to fix? for Alpine:3.17 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