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.
[
{
"events": [
{
"introduced": "10.0"
},
{
"fixed": "10.21"
}
]
},
{
"events": [
{
"introduced": "11.0"
},
{
"fixed": "11.16"
}
]
},
{
"events": [
{
"introduced": "12.0"
},
{
"fixed": "12.11"
}
]
},
{
"events": [
{
"introduced": "13.0"
},
{
"fixed": "13.7"
}
]
},
{
"events": [
{
"introduced": "14.0"
},
{
"fixed": "14.3"
}
]
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-1552.json"