Name | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3072-1, ELA-737-1, ELA-738-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
postgresql-11 (PTS) | buster, buster (lts) | 11.22-0+deb10u3 | fixed |
buster (security) | 11.22-0+deb10u2 | fixed | |
postgresql-13 (PTS) | bullseye | 13.16-0+deb11u1 | fixed |
bullseye (security) | 13.18-0+deb11u1 | fixed | |
postgresql-9.4 (PTS) | jessie, jessie (lts) | 9.4.26-0+deb8u10 | fixed |
postgresql-9.6 (PTS) | stretch (security) | 9.6.24-0+deb9u1 | vulnerable |
stretch (lts), stretch | 9.6.24-0+deb9u7 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
postgresql-11 | source | buster | 11.17-0+deb10u1 | DLA-3072-1 | ||
postgresql-11 | source | (unstable) | (unfixed) | |||
postgresql-13 | source | bullseye | 13.8-0+deb11u1 | |||
postgresql-13 | source | (unstable) | (unfixed) | |||
postgresql-14 | source | (unstable) | 14.5-1 | |||
postgresql-9.4 | source | jessie | 9.4.26-0+deb8u6 | ELA-738-1 | ||
postgresql-9.4 | source | (unstable) | (unfixed) | |||
postgresql-9.6 | source | stretch | 9.6.24-0+deb9u2 | ELA-737-1 | ||
postgresql-9.6 | source | (unstable) | (unfixed) |
https://www.postgresql.org/support/security/CVE-2022-2625/