CVE-2022-1552

postgresql: Autovacuum, REINDEX, and others omit "security restricted operation" sandbox

Published Aug 31, 2022 CVSS 3.1 · 8.8 High EPSS 17.0% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5135-1 postgresql-11 security update
Debian DSA Debian DSA DSA-5136-1 postgresql-13 security update
EUVD EUVD EUVD-2022-24847 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.
Ubuntu USN Ubuntu USN USN-5440-1 PostgreSQL vulnerability
Ubuntu USN Ubuntu USN USN-5676-1 PostgreSQL vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 3, 2024, 12:10 AM
Reserved
May 2, 2022, 12:00 AM
Status
Modified
Published
Aug 31, 2022, 4:15 PM
Modified
Jun 17, 2026, 4:22 AM
Severity
Important
Public date
May 12, 2022, 12:00 AM