CVE-2022-1552

NameCVE-2022-1552
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5135-1, DSA-5136-1, ELA-737-1, ELA-738-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
postgresql-11 (PTS)buster11.16-0+deb10u1fixed
buster (security)11.22-0+deb10u2fixed
postgresql-13 (PTS)bullseye13.13-0+deb11u1fixed
bullseye (security)13.14-0+deb11u1fixed
postgresql-9.4 (PTS)jessie, jessie (lts)9.4.26-0+deb8u9fixed
postgresql-9.6 (PTS)stretch (security)9.6.24-0+deb9u1vulnerable
stretch (lts), stretch9.6.24-0+deb9u6fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
postgresql-11sourcebuster11.16-0+deb10u1DSA-5135-1
postgresql-11source(unstable)(unfixed)
postgresql-13sourcebullseye13.7-0+deb11u1DSA-5136-1
postgresql-13source(unstable)(unfixed)
postgresql-14source(unstable)14.3-1
postgresql-9.4sourcejessie9.4.26-0+deb8u6ELA-738-1
postgresql-9.4source(unstable)(unfixed)
postgresql-9.6sourcestretch9.6.24-0+deb9u2ELA-737-1
postgresql-9.6source(unstable)(unfixed)

Notes

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)

Search for package or bug name: Reporting problems