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.
SQL Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
8.8 HIGH
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
redhatCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 85%
VendorProductVersion
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
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
postgresql-13
bullseye (security)
13.16-0+deb11u1
fixed
bullseye
13.16-0+deb11u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
postgresql-10
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
focal
dne
bionic
Fixed 10.21-0ubuntu0.18.04.1
released
xenial
dne
trusty
dne
postgresql-12
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
focal
Fixed 12.11-0ubuntu0.20.04.1
released
bionic
dne
xenial
dne
trusty
dne
postgresql-13
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
Fixed 13.7-0ubuntu0.21.10.1
released
focal
dne
bionic
dne
xenial
dne
trusty
dne
postgresql-14
noble
dne
mantic
dne
lunar
dne
kinetic
not-affected
jammy
Fixed 14.3-0ubuntu0.22.04.1
released
impish
dne
focal
dne
bionic
dne
xenial
dne
trusty
dne
postgresql-9.1
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
focal
dne
bionic
dne
xenial
dne
trusty
dne
postgresql-9.3
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
focal
dne
bionic
dne
xenial
dne
trusty
deferred
postgresql-9.5
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
focal
dne
bionic
dne
xenial
Fixed 9.5.25-0ubuntu0.16.04.1+esm2
released
trusty
dne