CVE-2022-2625
HIGH8.0EPSS 0.97%postgresql-11 - security update
Published: 8/18/2022Modified: 11/19/2025
Also known as:ALPINE-CVE-2022-2625
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 packages (7)
- Alpine/postgresqlfrom 0, < 13.8-r0
- Alpine/postgresql13from 0, < 13.8-r0
- Alpine/postgresql14from 0, < 14.5-r0
- Alpine/postgresql15from 0, < 14.5-r0
- Bitnami/postgresql>= 10.0.0, < 10.22.0, >= 11.0.0, < 11.17.0, >= 12.0.0, < 12.12.0, >= 13.0.0, < 13.8.0, >= 14.0.0, < 14.5.0
- Debian/postgresql-11from 0, < 11.17-0+deb10u1
- Debian/postgresql-13from 0, < 13.8-0+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
References (6)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2022-2625
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-2625
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2113825
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-2625
- WEBhttps://security.gentoo.org/glsa/202211-04
- WEBhttps://www.postgresql.org/about/news/postgresql-145-138-1212-1117-1022-and-15-beta-3-released-2496/