Live threats

All CVEs / Postgresql

CVE-2022-2625Postgresql

High 8.0

Priority
48
CVSS 3.1
8.0
EPSS
1.6%
probability of exploitation in 30 days · percentile 77
Auth required
Yes
Published
Aug 18, 2022
Updated
Nov 2, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-915, CWE-1321
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Postgresql.

Affected products (CPE)

VendorProductVersions
postgresqlpostgresql≥ 10.0 < 10.22
postgresqlpostgresql≥ 11.0 < 11.17
postgresqlpostgresql≥ 12.0 < 12.12
postgresqlpostgresql≥ 13.0 < 13.8
postgresqlpostgresql≥ 14.0 < 14.5
postgresqlpostgresql15
postgresqlpostgresql15
fedoraprojectfedora36
redhatenterprise_linux6.0
redhatenterprise_linux7.0
redhatenterprise_linux8.0
redhatenterprise_linux9.0

Official sources

References

Links published by the sources. Open them with care.