NetSight
high8.0

CVE-2022-2625

A vulnerability was found in PostgreSQL.

Impact

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 products

VendorProductAffected versions
PostgresqlPostgresql
from 10.0 before 10.22
from 11.0 before 11.17
from 12.0 before 12.12
from 13.0 before 13.8
from 14.0 before 14.5
Version 15
FedoraprojectFedora
Version 36
RedhatEnterprise Linux
Versions 6.0, 7.0, 8.0, 9.0

Weakness classification

References