{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2022-1552",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "postgresql",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Fixed in postgresql 14.3, postgresql 13.7, postgresql 12.11, postgresql 11.16, postgresql 10.21."
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-459- Incomplete Cleanup, CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')."
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2081126",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2081126"
            },
            {
                "refsource": "MISC",
                "name": "https://www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/",
                "url": "https://www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/"
            },
            {
                "refsource": "MISC",
                "name": "https://www.postgresql.org/support/security/CVE-2022-1552/",
                "url": "https://www.postgresql.org/support/security/CVE-2022-1552/"
            },
            {
                "refsource": "MISC",
                "name": "https://access.redhat.com/security/cve/CVE-2022-1552",
                "url": "https://access.redhat.com/security/cve/CVE-2022-1552"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20221104-0005/",
                "url": "https://security.netapp.com/advisory/ntap-20221104-0005/"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202211-04",
                "url": "https://security.gentoo.org/glsa/202211-04"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    }
}