← All CVEs

CVE-2022-1552

high · 8.8

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.

8.8
CVSS
16.0%
EPSS (exploit prob.)
97th
EPSS percentile
2022-08-31
Published

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-459CWE-89

Affected products

VendorProductAffected versions
postgresqlpostgresql>= 10.0, < 10.21
postgresqlpostgresql>= 11.0, < 11.16
postgresqlpostgresql>= 12.0, < 12.11
postgresqlpostgresql>= 13.0, < 13.7
postgresqlpostgresql>= 14.0, < 14.3

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2022-1552