CVE-2022-2625
HIGH
MEDIUM
Priority: 0.17
BB Relevance:
56/100
Published: 2022-08-18
Modified: 2026-11-02
First seen: 2026-11-02
Status: active
Attack Surface
Network
Low Complexity
Conf. Impact
Integ. Impact
CVSS Vector Breakdown
AV:
Network
AC:
Low
PR:
Low
UI:
Required
S:
Unchanged
C:
High
I:
High
A:
High
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.
Affected Software (9)
| Vendor | Product | Version |
|---|---|---|
| fedoraproject | fedora | 36 |
| n/a | postgresql | postgresql 14.5, postgresql 13.8, postgresql 12.12, postgresql 11.17, postgresql 10.22 |
| postgresql | postgresql | 10.0 – 10.22 |
| postgresql | postgresql | 15 |
| postgresql | postgresql | 15 |
| redhat | enterprise_linux | 6.0 |
| redhat | enterprise_linux | 7.0 |
| redhat | enterprise_linux | 8.0 |
| redhat | enterprise_linux | 9.0 |
References & Advisories (3)
vendor-advisory