CVE-2022-1552
publishedpostgresql: Autovacuum, REINDEX, and others omit "security restricted operation" sandbox
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | postgresqlFixed in postgresql 14.3, postgresql 13.7, postgresql 12.11, postgresql 11.16, postgresql 10.21. | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1843 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL11-2023-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL12-2023-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL12-2023-003 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | postgresql | Advisory build | 10.21-2.module_el8.6.0+2901+a6abf8d9 | ALSA-2022:4805 |
| Alpine Linux | v3.13 | postgresql | Fixed | 13.7-r0 | Package fix record |
Show 101 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL13-2023-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL14-2023-002 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 7 | postgresqlaarch64 | Advisory build | 0:9.2.24-8.el7_9 | ELSA-2022-5162 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqli686 | Advisory build | 9.2.24-8.el7_9 | RHSA-2022:5162 |
| SUSE / openSUSE | SLE-15 | postgresqlnoarch | Advisory build | 12.0.1-150000.8.19.1 | SUSE-SU-2022:2893-1 |
| AlmaLinux | 8 | postgresql | Advisory build | 12.11-2.module_el8.6.0+2905+eb237fb8 | ALSA-2022:4807 |
| Alpine Linux | v3.14 | postgresql | Fixed | 13.7-r0 | Package fix record |
| Oracle Linux | 7 | postgresqlx86_64 | Advisory build | 0:9.2.24-8.el7_9 | ELSA-2022-5162 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 10b | Advisory build | 0:10.21-2.module+el8.6.0+20673+e7bc7ac8 | ELSA-2022-4805 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 12b | Advisory build | 0:12.11-2.module+el8.6.0+20676+128a094e | ELSA-2022-4807 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 13b | Advisory build | 0:13.7-2.module+el8.6.0+20679+105cfe02 | ELSA-2022-4855 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 10b | Advisory build | 0:10.21-2.module+el8.6.0+20673+e7bc7ac8 | ELSA-2022-4805 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 12b | Advisory build | 0:12.11-2.module+el8.6.0+20676+128a094e | ELSA-2022-4807 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 13b | Advisory build | 0:13.7-2.module+el8.6.0+20679+105cfe02 | ELSA-2022-4855 |
| Oracle Linux | 9 | postgresqlaarch64 | Advisory build | 0:13.7-1.el9_0 | ELSA-2022-4771 |
| Oracle Linux | 9 | postgresqlx86_64 | Advisory build | 0:13.7-1.el9_0 | ELSA-2022-4771 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc | Advisory build | 9.2.24-8.el7_9 | RHSA-2022:5162 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc64 | Advisory build | 9.2.24-8.el7_9 | RHSA-2022:5162 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlppc64le | Advisory build | 9.2.24-8.el7_9 | RHSA-2022:5162 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqls390 | Advisory build | 9.2.24-8.el7_9 | RHSA-2022:5162 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqls390x | Advisory build | 9.2.24-8.el7_9 | RHSA-2022:5162 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlsrc | Advisory build | 9.2.24-8.el7_9 | RHSA-2022:5162 |
| Red Hat Enterprise Linux | RHEL-7 | postgresqlx86_64 | Advisory build | 9.2.24-8.el7_9 | RHSA-2022:5162 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 10.21-2.module+el8.2.0+15340+c4468608 | RHSA-2022:4895 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 10.21-2.module+el8.4.0+15341+25c9f2fe | RHSA-2022:4854 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 10.21-2.module+el8.6.0+15342+53518fac | RHSA-2022:4805 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.11-2.module+el8.2.0+15343+06a38260 | RHSA-2022:4893 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.11-2.module+el8.4.0+15406+aeb4ae67 | RHSA-2022:4856 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.11-2.module+el8.6.0+15345+1dd8d6b8 | RHSA-2022:4807 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 13.7-2.module+el8.4.0+15346+22c653ca | RHSA-2022:4857 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 13.7-2.module+el8.6.0+15347+b8eabcef | RHSA-2022:4855 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.21-2.module+el8.1.0+15339+34e1e10d | RHSA-2022:4894 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.21-2.module+el8.2.0+15340+c4468608 | RHSA-2022:4895 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.21-2.module+el8.4.0+15341+25c9f2fe | RHSA-2022:4854 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.21-2.module+el8.6.0+15342+53518fac | RHSA-2022:4805 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.11-2.module+el8.2.0+15343+06a38260 | RHSA-2022:4893 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.11-2.module+el8.4.0+15406+aeb4ae67 | RHSA-2022:4856 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.11-2.module+el8.6.0+15345+1dd8d6b8 | RHSA-2022:4807 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 13.7-2.module+el8.4.0+15346+22c653ca | RHSA-2022:4857 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 13.7-2.module+el8.6.0+15347+b8eabcef | RHSA-2022:4855 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 10.21-2.module+el8.2.0+15340+c4468608 | RHSA-2022:4895 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 10.21-2.module+el8.4.0+15341+25c9f2fe | RHSA-2022:4854 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 10.21-2.module+el8.6.0+15342+53518fac | RHSA-2022:4805 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.11-2.module+el8.2.0+15343+06a38260 | RHSA-2022:4893 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.11-2.module+el8.4.0+15406+aeb4ae67 | RHSA-2022:4856 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.11-2.module+el8.6.0+15345+1dd8d6b8 | RHSA-2022:4807 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 13.7-2.module+el8.4.0+15346+22c653ca | RHSA-2022:4857 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 13.7-2.module+el8.6.0+15347+b8eabcef | RHSA-2022:4855 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.21-2.module+el8.1.0+15339+34e1e10d | RHSA-2022:4894 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.21-2.module+el8.2.0+15340+c4468608 | RHSA-2022:4895 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.21-2.module+el8.4.0+15341+25c9f2fe | RHSA-2022:4854 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.21-2.module+el8.6.0+15342+53518fac | RHSA-2022:4805 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.11-2.module+el8.2.0+15343+06a38260 | RHSA-2022:4893 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.11-2.module+el8.4.0+15406+aeb4ae67 | RHSA-2022:4856 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.11-2.module+el8.6.0+15345+1dd8d6b8 | RHSA-2022:4807 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 13.7-2.module+el8.4.0+15346+22c653ca | RHSA-2022:4857 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 13.7-2.module+el8.6.0+15347+b8eabcef | RHSA-2022:4855 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.21-2.module+el8.1.0+15339+34e1e10d | RHSA-2022:4894 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.21-2.module+el8.2.0+15340+c4468608 | RHSA-2022:4895 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.21-2.module+el8.4.0+15341+25c9f2fe | RHSA-2022:4854 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.21-2.module+el8.6.0+15342+53518fac | RHSA-2022:4805 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.11-2.module+el8.2.0+15343+06a38260 | RHSA-2022:4893 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.11-2.module+el8.4.0+15406+aeb4ae67 | RHSA-2022:4856 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.11-2.module+el8.6.0+15345+1dd8d6b8 | RHSA-2022:4807 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 13.7-2.module+el8.4.0+15346+22c653ca | RHSA-2022:4857 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 13.7-2.module+el8.6.0+15347+b8eabcef | RHSA-2022:4855 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlaarch64 | Advisory build | 13.7-1.el9_0 | RHSA-2022:4771 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlppc64le | Advisory build | 13.7-1.el9_0 | RHSA-2022:4771 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqls390x | Advisory build | 13.7-1.el9_0 | RHSA-2022:4771 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlsrc | Advisory build | 13.7-1.el9_0 | RHSA-2022:4771 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlx86_64 | Advisory build | 13.7-1.el9_0 | RHSA-2022:4771 |
| SUSE / openSUSE | SLE-15-SP1 | postgresqlnoarch | Advisory build | 12.0.1-150000.8.19.1 | SUSE-SU-2022:2893-1 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.6.0+2758+4f4474df | ALSA-2022:4807 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.6.0+2760+1746ec94 | ALSA-2022:4807 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.4.0-5.module_el8.6.0+2758+4f4474df | ALSA-2022:4807 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2758+4f4474df | ALSA-2022:4807 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2022:4807 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 10.21-2.module_el8.6.0+2901+a6abf8d9 | ALSA-2022:4805 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 12.11-2.module_el8.6.0+2905+eb237fb8 | ALSA-2022:4807 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 10.21-2.module_el8.6.0+2901+a6abf8d9 | ALSA-2022:4805 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 12.11-2.module_el8.6.0+2905+eb237fb8 | ALSA-2022:4807 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 10.21-2.module_el8.6.0+2901+a6abf8d9 | ALSA-2022:4805 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 12.11-2.module_el8.6.0+2905+eb237fb8 | ALSA-2022:4807 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 10.21-2.module_el8.6.0+2901+a6abf8d9 | ALSA-2022:4805 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 12.11-2.module_el8.6.0+2905+eb237fb8 | ALSA-2022:4807 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 10.21-2.module_el8.6.0+2901+a6abf8d9 | ALSA-2022:4805 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 12.11-2.module_el8.6.0+2905+eb237fb8 | ALSA-2022:4807 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 10.21-2.module_el8.6.0+2901+a6abf8d9 | ALSA-2022:4805 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 12.11-2.module_el8.6.0+2905+eb237fb8 | ALSA-2022:4807 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 10.21-2.module_el8.6.0+2901+a6abf8d9 | ALSA-2022:4805 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 12.11-2.module_el8.6.0+2905+eb237fb8 | ALSA-2022:4807 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 10.21-2.module_el8.6.0+2901+a6abf8d9 | ALSA-2022:4805 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 12.11-2.module_el8.6.0+2905+eb237fb8 | ALSA-2022:4807 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 10.21-2.module_el8.6.0+2901+a6abf8d9 | ALSA-2022:4805 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 12.11-2.module_el8.6.0+2905+eb237fb8 | ALSA-2022:4807 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 10.21-2.module_el8.6.0+2901+a6abf8d9 | ALSA-2022:4805 |
| AlmaLinux | 8 | postgresql-test-rpm-macros | Advisory build | 12.11-2.module_el8.6.0+2905+eb237fb8 | ALSA-2022:4807 |
| AlmaLinux | 8 | postgresql-upgrade | Advisory build | 10.21-2.module_el8.6.0+2901+a6abf8d9 | ALSA-2022:4805 |
| AlmaLinux | 8 | postgresql-upgrade | Advisory build | 12.11-2.module_el8.6.0+2905+eb237fb8 | ALSA-2022:4807 |
| AlmaLinux | 8 | postgresql-upgrade-devel | Advisory build | 10.21-2.module_el8.6.0+2901+a6abf8d9 | ALSA-2022:4805 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | postgresql | Fixed in postgresql 14.3, postgresql 13.7, postgresql 12.11, postgresql 11.16, postgresql 10.21. (affected) | redhat · cna |
Weaknesses
1- CWE-459 CWE-459- Incomplete Cleanup, CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
References
6- https://access.redhat.com/security/cve/CVE-2022-1552
- https://bugzilla.redhat.com/show_bug.cgi?id=2081126
- GLSA-202211-04 https://security.gentoo.org/glsa/202211-04
- https://security.netapp.com/advisory/ntap-20221104-0005/
- https://www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/
- https://www.postgresql.org/support/security/CVE-2022-1552/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e9cbde039986a55bd5c8f7f3c832f74aaa527b085a1dbc1d84789e46f27d848c
- Ingested
- 23 Sep 2026, 07:57:48 UTC
- Source record
- Official CVE record