{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-1552",
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "dateUpdated": "2024-08-03T00:10:03.498Z",
        "dateReserved": "2022-05-02T00:00:00",
        "datePublished": "2022-08-31T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat",
                "dateUpdated": "2022-11-22T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "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."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "postgresql",
                    "versions": [
                        {
                            "version": "Fixed in postgresql 14.3, postgresql 13.7, postgresql 12.11, postgresql 11.16, postgresql 10.21.",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2081126"
                },
                {
                    "url": "https://www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/"
                },
                {
                    "url": "https://www.postgresql.org/support/security/CVE-2022-1552/"
                },
                {
                    "url": "https://access.redhat.com/security/cve/CVE-2022-1552"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20221104-0005/"
                },
                {
                    "name": "GLSA-202211-04",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202211-04"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-459- Incomplete Cleanup, CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').",
                            "cweId": "CWE-459"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T00:10:03.498Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2081126",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.postgresql.org/support/security/CVE-2022-1552/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://access.redhat.com/security/cve/CVE-2022-1552",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20221104-0005/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "GLSA-202211-04",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202211-04"
                    }
                ]
            }
        ]
    }
}