CVE-2022-2625
publishedpostgresql: Extension scripts replace objects not belonging to the extension.
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | postgresqlpostgresql 14.5, postgresql 13.8, postgresql 12.12, postgresql 11.17, postgresql 10.22 | Affected | Not stated | redhat |
| AlmaLinux | 8 | postgresql | Advisory build | 10.23-1.module_el8.7.0+3379+54d21c26 | ALSA-2023:0113 |
| Alpine Linux | v3.13 | postgresql | Fixed | 13.8-r0 | Package fix record |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 10b | Advisory build | 0:10.23-1.module+el8.7.0+20896+16771be9 | ELSA-2023-0113 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 10.23-1.module+el8.7.0+17280+3a452e1f | RHSA-2023:0113 |
| SUSE / openSUSE | SLE-12-SP2 | postgresqlnoarch | Advisory build | 14-4.17.2 | SUSE-SU-2022:3193-1 |
| AlmaLinux | 8 | postgresql | Advisory build | 12.12-1.module_el8.6.0+3336+e779e518 | ALSA-2022:7128 |
| AlmaLinux | 8 | postgresql | Advisory build | 13.10-1.module_el8.7.0+3498+cb1ef3c6 | ALSA-2023:1576 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | postgresql | Advisory build | 13.10-1.el9_1 | ALSA-2023:1693 |
| Alpine Linux | v3.14 | postgresql | Fixed | 13.8-r0 | Package fix record |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 12b | Advisory build | 0:12.12-1.module+el8.6.0+20851+edfb83f8 | ELSA-2022-7128 |
| Oracle Linux | 8 | postgresqlaarch64 · postgresql · 13b | Advisory build | 0:13.10-1.module+el8.7.0+21022+658346a0 | ELSA-2023-1576 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 10b | Advisory build | 0:10.23-1.module+el8.7.0+20896+16771be9 | ELSA-2023-0113 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 12b | Advisory build | 0:12.12-1.module+el8.6.0+20851+edfb83f8 | ELSA-2022-7128 |
| Oracle Linux | 8 | postgresqlx86_64 · postgresql · 13b | Advisory build | 0:13.10-1.module+el8.7.0+21022+658346a0 | ELSA-2023-1576 |
| Oracle Linux | 9 | postgresqlaarch64 | Advisory build | 0:13.10-1.el9_1 | ELSA-2023-1693 |
| Oracle Linux | 9 | postgresqlx86_64 | Advisory build | 0:13.10-1.el9_1 | ELSA-2023-1693 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.12-1.module+el8.6.0+16796+0abe6678 | RHSA-2022:7128 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 12.17-1.module+el8.4.0+20773+7c41d490 | RHSA-2023:7694 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 13.10-1.module+el8.7.0+18279+1ca8cf12 | RHSA-2023:1576 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 13.13-1.module+el8.4.0+20774+68ad636d | RHSA-2023:7695 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlaarch64 | Advisory build | 13.13-1.module+el8.6.0+20665+ba8c5a93 | RHSA-2023:7580 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 10.23-1.module+el8.7.0+17280+3a452e1f | RHSA-2023:0113 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.12-1.module+el8.6.0+16796+0abe6678 | RHSA-2022:7128 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.17-1.module+el8.2.0+20720+50ffbc0b | RHSA-2023:7667 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 12.17-1.module+el8.4.0+20773+7c41d490 | RHSA-2023:7694 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 13.10-1.module+el8.7.0+18279+1ca8cf12 | RHSA-2023:1576 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 13.13-1.module+el8.4.0+20774+68ad636d | RHSA-2023:7695 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlppc64le | Advisory build | 13.13-1.module+el8.6.0+20665+ba8c5a93 | RHSA-2023:7580 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 10.23-1.module+el8.7.0+17280+3a452e1f | RHSA-2023:0113 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.12-1.module+el8.6.0+16796+0abe6678 | RHSA-2022:7128 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 12.17-1.module+el8.4.0+20773+7c41d490 | RHSA-2023:7694 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 13.10-1.module+el8.7.0+18279+1ca8cf12 | RHSA-2023:1576 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 13.13-1.module+el8.4.0+20774+68ad636d | RHSA-2023:7695 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqls390x | Advisory build | 13.13-1.module+el8.6.0+20665+ba8c5a93 | RHSA-2023:7580 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 10.23-1.module+el8.7.0+17280+3a452e1f | RHSA-2023:0113 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.12-1.module+el8.6.0+16796+0abe6678 | RHSA-2022:7128 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.17-1.module+el8.2.0+20720+50ffbc0b | RHSA-2023:7667 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 12.17-1.module+el8.4.0+20773+7c41d490 | RHSA-2023:7694 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 13.10-1.module+el8.7.0+18279+1ca8cf12 | RHSA-2023:1576 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 13.13-1.module+el8.4.0+20774+68ad636d | RHSA-2023:7695 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlsrc | Advisory build | 13.13-1.module+el8.6.0+20665+ba8c5a93 | RHSA-2023:7580 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 10.23-1.module+el8.7.0+17280+3a452e1f | RHSA-2023:0113 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.12-1.module+el8.6.0+16796+0abe6678 | RHSA-2022:7128 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.17-1.module+el8.2.0+20720+50ffbc0b | RHSA-2023:7667 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 12.17-1.module+el8.4.0+20773+7c41d490 | RHSA-2023:7694 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 13.10-1.module+el8.7.0+18279+1ca8cf12 | RHSA-2023:1576 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 13.13-1.module+el8.4.0+20774+68ad636d | RHSA-2023:7695 |
| Red Hat Enterprise Linux | RHEL-8 | postgresqlx86_64 | Advisory build | 13.13-1.module+el8.6.0+20665+ba8c5a93 | RHSA-2023:7580 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlaarch64 | Advisory build | 13.10-1.el9_1 | RHSA-2023:1693 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlaarch64 | Advisory build | 13.13-1.el9_0 | RHSA-2023:7545 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlppc64le | Advisory build | 13.10-1.el9_1 | RHSA-2023:1693 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlppc64le | Advisory build | 13.13-1.el9_0 | RHSA-2023:7545 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqls390x | Advisory build | 13.10-1.el9_1 | RHSA-2023:1693 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqls390x | Advisory build | 13.13-1.el9_0 | RHSA-2023:7545 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlsrc | Advisory build | 13.10-1.el9_1 | RHSA-2023:1693 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlsrc | Advisory build | 13.13-1.el9_0 | RHSA-2023:7545 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlx86_64 | Advisory build | 13.10-1.el9_1 | RHSA-2023:1693 |
| Red Hat Enterprise Linux | RHEL-9 | postgresqlx86_64 | Advisory build | 13.13-1.el9_0 | RHSA-2023:7545 |
| SUSE / openSUSE | SLE-12-SP3 | postgresqlnoarch | Advisory build | 14-4.17.2 | SUSE-SU-2022:3193-1 |
| SUSE / openSUSE | SLE-12-SP4 | postgresqlnoarch | Advisory build | 14-4.17.2 | SUSE-SU-2022:3193-1 |
| SUSE / openSUSE | SLE-12-SP5 | postgresqlnoarch | Advisory build | 14-4.17.2 | SUSE-SU-2022:3193-1 |
| SUSE / openSUSE | SLE-15 | postgresqlnoarch | Advisory build | 12.0.1-150000.8.19.1 | SUSE-SU-2022:2893-1 |
| 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+2760+1746ec94 | ALSA-2022:7128 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.6.0+2760+1746ec94 | ALSA-2023:1576 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.6.0+3095+ee60d910 | ALSA-2022:7128 |
| AlmaLinux | 8 | pg_repack | Advisory build | 1.4.6-3.module_el8.6.0+3095+ee60d910 | ALSA-2023:1576 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.4.0-5.module_el8.6.0+2758+4f4474df | ALSA-2022:7128 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.4.0-5.module_el8.6.0+3094+eb237fb8 | ALSA-2022:7128 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.5.0-1.module_el8.6.0+2760+1746ec94 | ALSA-2023:1576 |
| AlmaLinux | 8 | pgaudit | Advisory build | 1.5.0-1.module_el8.6.0+3095+ee60d910 | ALSA-2023:1576 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2022:7128 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+2760+1746ec94 | ALSA-2023:1576 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+3095+ee60d910 | ALSA-2022:7128 |
| AlmaLinux | 8 | postgres-decoderbufs | Advisory build | 0.10.0-2.module_el8.6.0+3095+ee60d910 | ALSA-2023:1576 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 10.23-1.module_el8.7.0+3379+54d21c26 | ALSA-2023:0113 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 12.12-1.module_el8.6.0+3336+e779e518 | ALSA-2022:7128 |
| AlmaLinux | 8 | postgresql-contrib | Advisory build | 13.10-1.module_el8.7.0+3498+cb1ef3c6 | ALSA-2023:1576 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 10.23-1.module_el8.7.0+3379+54d21c26 | ALSA-2023:0113 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 12.12-1.module_el8.6.0+3336+e779e518 | ALSA-2022:7128 |
| AlmaLinux | 8 | postgresql-docs | Advisory build | 13.10-1.module_el8.7.0+3498+cb1ef3c6 | ALSA-2023:1576 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 10.23-1.module_el8.7.0+3379+54d21c26 | ALSA-2023:0113 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 12.12-1.module_el8.6.0+3336+e779e518 | ALSA-2022:7128 |
| AlmaLinux | 8 | postgresql-plperl | Advisory build | 13.10-1.module_el8.7.0+3498+cb1ef3c6 | ALSA-2023:1576 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 10.23-1.module_el8.7.0+3379+54d21c26 | ALSA-2023:0113 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 12.12-1.module_el8.6.0+3336+e779e518 | ALSA-2022:7128 |
| AlmaLinux | 8 | postgresql-plpython3 | Advisory build | 13.10-1.module_el8.7.0+3498+cb1ef3c6 | ALSA-2023:1576 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 10.23-1.module_el8.7.0+3379+54d21c26 | ALSA-2023:0113 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 12.12-1.module_el8.6.0+3336+e779e518 | ALSA-2022:7128 |
| AlmaLinux | 8 | postgresql-pltcl | Advisory build | 13.10-1.module_el8.7.0+3498+cb1ef3c6 | ALSA-2023:1576 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 10.23-1.module_el8.7.0+3379+54d21c26 | ALSA-2023:0113 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 12.12-1.module_el8.6.0+3336+e779e518 | ALSA-2022:7128 |
| AlmaLinux | 8 | postgresql-server | Advisory build | 13.10-1.module_el8.7.0+3498+cb1ef3c6 | ALSA-2023:1576 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 10.23-1.module_el8.7.0+3379+54d21c26 | ALSA-2023:0113 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 12.12-1.module_el8.6.0+3336+e779e518 | ALSA-2022:7128 |
| AlmaLinux | 8 | postgresql-server-devel | Advisory build | 13.10-1.module_el8.7.0+3498+cb1ef3c6 | ALSA-2023:1576 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 10.23-1.module_el8.7.0+3379+54d21c26 | ALSA-2023:0113 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 12.12-1.module_el8.6.0+3336+e779e518 | ALSA-2022:7128 |
| AlmaLinux | 8 | postgresql-static | Advisory build | 13.10-1.module_el8.7.0+3498+cb1ef3c6 | ALSA-2023:1576 |
| AlmaLinux | 8 | postgresql-test | Advisory build | 10.23-1.module_el8.7.0+3379+54d21c26 | ALSA-2023:0113 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
A vulnerability was found in PostgreSQL. This attack requires permission to create non-temporary objects in at least one schema, the ability to lure or wait for an administrator to create or update an affected extension in that schema, and the ability to lure or wait for a victim to use the object targeted in CREATE OR REPLACE or CREATE IF NOT EXISTS. Given all three prerequisites, this flaw allows an attacker to run arbitrary code as the victim role, which may be a superuser.
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 | postgresql 14.5, postgresql 13.8, postgresql 12.12, postgresql 11.17, postgresql 10.22 (affected) | redhat · cna |
Weaknesses
1- CWE-915
References
3- https://bugzilla.redhat.com/show_bug.cgi?id=2113825
- GLSA-202211-04 https://security.gentoo.org/glsa/202211-04
- https://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-released-2496/
Provider assertions
3redhat · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7ee6c95aed0e72b344156a15d998ee57d6abb21e16ba3f760d1649b3c74d9227
- Ingested
- 02 Nov 2026, 18:26:01 UTC
- Source record
- Official CVE record