CVE-2022-2625
HIGHPostgreSQL - Arbitrary Code Execution via Extension Schema Object Hijacking
Title source: manualDescription
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.
References (3)
Core 3
Core References
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202211-04
Issue Tracking, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2113825
Release Notes, Vendor Advisory
https://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-released-2496/
Scores
CVSS v3
8.0
EPSS
0.0146
EPSS Percentile
70.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-915
CWE-1321
Status
published
Products (7)
fedoraproject/fedora
36
postgresql/postgresql
15 beta1 (2 CPE variants)
postgresql/postgresql
10.0 - 10.22
redhat/enterprise_linux
6.0
redhat/enterprise_linux
7.0
redhat/enterprise_linux
8.0
redhat/enterprise_linux
9.0
Published
Aug 18, 2022
Tracked Since
Feb 18, 2026