Severity
8.0HIGHNVD
EPSS
1.0%
top 23.29%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 18
Latest updateAug 19

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HExploitability: 2.1 | Impact: 5.9

Affected Packages2 packages

NVDpostgresql/postgresql10.010.22+5
CVEListV5postgresql/postgresqlpostgresql 14.5, postgresql 13.8, postgresql 12.12, postgresql 11.17, postgresql 10.22

Also affects: Fedora 36, Enterprise Linux 6.0, 7.0, 8.0, 9.0

🔴Vulnerability Details

3
GHSA
GHSA-m7mv-m566-78j6: A vulnerability found in postgresql2022-08-19
OSV
CVE-2022-2625: A vulnerability was found in PostgreSQL2022-08-18
CVEList
CVE-2022-2625: A vulnerability was found in PostgreSQL2022-08-18

📋Vendor Advisories

4
Ubuntu
PostgreSQL vulnerability2022-08-18
Red Hat
postgresql: Extension scripts replace objects not belonging to the extension.2022-08-11
Microsoft
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 2022-08-09
Debian
CVE-2022-2625: postgresql-13 - A vulnerability was found in PostgreSQL. This attack requires permission to crea...2022
CVE-2022-2625 — Postgresql vulnerability | cvebase