CVE-2022-2625Postgresql
High 8.0
Follow: this CVE · Postgresql · Postgresql We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Postgresql.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 |
| 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 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- security.gentoo.org Third Party Advisory
- www.postgresql.org Release Notes Vendor Advisory