Incomplete Cleanup Affecting postgresql-contrib package, versions <0:9.2.24-8.el7_9
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-RHEL7-POSTGRESQLCONTRIB-2825114
- published 14 May 2022
- disclosed 12 May 2022
How to fix?
Upgrade RHEL:7 postgresql-contrib to version 0:9.2.24-8.el7_9 or higher.
This issue was patched in RHSA-2022:5162.
NVD Description
Note: Versions mentioned in the description apply only to the upstream postgresql-contrib package and not the postgresql-contrib package as distributed by RHEL.
See How to fix? for RHEL:7 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.
References
- https://access.redhat.com/security/cve/CVE-2022-1552
- https://access.redhat.com/errata/RHSA-2022:5162
- https://www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/
- https://bugzilla.redhat.com/show_bug.cgi?id=2081126
- https://www.postgresql.org/support/security/CVE-2022-1552/
- https://security.netapp.com/advisory/ntap-20221104-0005/
- https://security.gentoo.org/glsa/202211-04