A vulnerability was found in PostgreSQL. This attack requires permission to create non-temporary objects in at least one schema, the ability to lure o...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSpostgresql-9.3 |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTSpostgresql-9.5 |
All versions→ Not listed |
Not listed |
| Ubuntu:18.04:LTSpostgresql-10 |
< 10.22-0ubuntu0.18.04.1→ 10.22-0ubuntu0.18.04.1 |
10.22-0ubuntu0.18.04.1 |
| Ubuntu:20.04:LTSpostgresql-12 |
< 12.12-0ubuntu0.20.04.1→ 12.12-0ubuntu0.20.04.1 |
12.12-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTSpostgresql-14 |
< 14.5-0ubuntu0.22.04.1→ 14.5-0ubuntu0.22.04.1 |
14.5-0ubuntu0.22.04.1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report postgresql.org
- report cve.org