SQL Injection in PostgreSQL
CVE-2022-1552
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.160 (96.8th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 96.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.160 · newest: 0.160 · change: 0.000
Affected products
- PostgreSQL
- PostgreSQL — versions Fixed in postgresql 14.3, postgresql 13.7, postgresql 12.11, postgresql 11.16, postgresql 10.21.
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-24… (Vendor Advisory)
- www.postgresql.org/support/security/CVE-2022-1552/ (Vendor Advisory)
- access.redhat.com/security/cve/CVE-2022-1552 (Third Party Advisory)
- security.netapp.com/advisory/ntap-20221104-0005/ (Third Party Advisory)
- security.gentoo.org/glsa/202211-04 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-1552?
- CVE-2022-1552 is a high-severity vulnerability in PostgreSQL, classified under Incomplete Cleanup. CVSS score: 8.8/10. Published 2022-08-31.
- How severe is CVE-2022-1552?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2022-1552 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.