CVEvulnerability
CVE-2022-2625
8.0 HIGH
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
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2113825 Issue Tracking, Third Party Advisory
- https://security.gentoo.org/glsa/202211-04 Third Party Advisory
- https://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-released-2496/ Release Notes, Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2113825 Issue Tracking, Third Party Advisory
- https://security.gentoo.org/glsa/202211-04 Third Party Advisory
- https://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-released-2496/ Release Notes, Vendor Advisory