ALASPOSTGRESQL12-2023-003

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

ALASPOSTGRESQL12-2023-003


Amazon Linux 2 Security Advisory: ALASPOSTGRESQL12-2023-003
Advisory Release Date: 2023-08-07 05:59 Pacific
Advisory Updated Date: 2023-09-25 22:07 Pacific
Severity: Important

Issue Overview:

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)


Affected Packages:

libpq


Issue Correction:
Run yum update libpq to update your system.

New Packages:
aarch64:
    libpq-12.11-1.amzn2.0.1.aarch64
    libpq-devel-12.11-1.amzn2.0.1.aarch64
    libpq-debuginfo-12.11-1.amzn2.0.1.aarch64

i686:
    libpq-12.11-1.amzn2.0.1.i686
    libpq-devel-12.11-1.amzn2.0.1.i686
    libpq-debuginfo-12.11-1.amzn2.0.1.i686

src:
    libpq-12.11-1.amzn2.0.1.src

x86_64:
    libpq-12.11-1.amzn2.0.1.x86_64
    libpq-devel-12.11-1.amzn2.0.1.x86_64
    libpq-debuginfo-12.11-1.amzn2.0.1.x86_64