Incorrect Authorization Affecting postgresql package, versions [,10.21) [11.0, 11.6) [12.0, 12.11) [13.0, 13.7) [14.0, 14.7)
Snyk CVSS
Threat Intelligence
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
Introduced: 12 May 2022
CVE-2022-1552 Open this link in a new tabHow 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.