CVEvulnerability

CVE-2022-2625

8.0 HIGH Published 2022-08-18 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-08-18
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.0 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-1321, CWE-915

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 configurations

• postgresql postgresql (>= 10.0 < 10.22) • postgresql postgresql (>= 11.0 < 11.17) • postgresql postgresql (>= 12.0 < 12.12) • postgresql postgresql (>= 13.0 < 13.8) • postgresql postgresql (>= 14.0 < 14.5) • postgresql postgresql 15 • fedoraproject fedora 36 • redhat enterprise linux 6.0 • redhat enterprise linux 7.0 • redhat enterprise linux 8.0 • redhat enterprise linux 9.0

Related

Weakness · CWE (2)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes weakness

References