VDB

CVE-2022-1552

CVE-2022-1552 PUBLISHED

Reported by redhat · Published August 31, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
postgresql-docsAmazon Linux9.2.24-8.amzn2
postgresql15Alpine14.3-r0
postgresql-develAmazon Linux9.2.24-8.amzn2
postgresql13Alpine13.7-r0
postgresql-pltclAmazon Linux9.2.24-8.amzn2
postgresql-libsAmazon Linux9.2.24-8.amzn2
postgresql-plperlAmazon Linux9.2.24-8.amzn2
postgresql-serverAmazon Linux9.2.24-8.amzn2
postgresql-plpythonAmazon Linux9.2.24-8.amzn2
postgresql-staticAmazon Linux9.2.24-8.amzn2
postgresqlBitnami14.3.0, 13.7.0, 12.11.0, 11.16.0, 10.21.0
postgresql-contribAmazon Linux9.2.24-8.amzn2

4 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
n/apostgresqlFixed in postgresql 14.3, postgresql 13.7, postgresql 12.11, postgresql 11.16, postgresql 10.21.
amazon:2postgresql-docs0
alpinepostgresql150
amazon:2postgresql-devel0
alpinepostgresql130
amazon:2postgresql-pltcl0
amazon:2postgresql-libs0
amazon:2postgresql-plperl0
amazon:2postgresql-server0
amazon:2postgresql-plpython0
amazon:2postgresql-static0
amazon:2postgresql-contrib0
alpinepostgresql140
amazon:2postgresql0
n/apostgresqlFixed in postgresql 14.3, postgresql 13.7, postgresql 12.11, postgresql 11.16, postgresql 10.21.
alpinepostgresql120
alpinepostgresql0
amazon:2postgresql-test0
amazon:2postgresql-upgrade0
archpostgresql0

Timeline

  • May 12, 2022 CVE Published
  • Sep 1, 2022 EPSS Score (30 in total, the first dated here)
  • Apr 3, 2025 PoC Published
  • Mar 10, 2026 Security Advisory (22 in total, the first dated here)
  • Mar 17, 2026 Distribution Patch (16 in total, the first dated here)
  • Jul 11, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-1552
vulnetix vdb fixes CVE-2022-1552

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-1552/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›