QID 356472

QID 356472: Amazon Linux Security Advisory for postgresql : ALAS2POSTGRESQL12-2023-002

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. (
( CVE-2022-1552)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2POSTGRESQL12-2023-002 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356472

    Software Advisories
    Advisory ID Software Component Link
    ALAS2POSTGRESQL12-2023-002 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALASPOSTGRESQL12-2023-002.html