Name | CVE-2022-1552 |
Description | A flaw was found in PostgreSQL. There is an issue with incomplete efforts to operate safely when a privileged user is maintaining another user's objects. The Autovacuum, REINDEX, CREATE INDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and pg_amcheck commands activated relevant protections too late or not at all during the process. This flaw allows an attacker with permission to create non-temporary objects in at least one schema to execute arbitrary SQL functions under a superuser identity. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-5135-1, DSA-5136-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.16-0+deb10u1 | DSA-5135-1 | ||
postgresql-11 | source | (unstable) | (unfixed) | |||
postgresql-13 | source | bullseye | 13.7-0+deb11u1 | DSA-5136-1 | ||
postgresql-13 | source | (unstable) | (unfixed) | |||
postgresql-14 | source | (unstable) | 14.3-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/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=ab49ce7c3414ac19e4afb386d7843ce2d2fb8bda (REL_14_3)
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=677a494789062ca88e0142a17bedd5415f6ab0aa (REL_14_3)