Amazon Linux 2 Security Advisory: ALASPOSTGRESQL12-2023-005
Advisory Release Date: 2023-09-06 18:59 Pacific
Advisory Updated Date: 2023-09-25 22:07 Pacific
IN THE EXTENSION SCRIPT, a SQL Injection vulnerability was found in PostgreSQL if it uses @extowner@, @extschema@, or @extschema:...@ inside a quoting construct (dollar quoting, '', or ""). If an administrator has installed files of a vulnerable, trusted, non-bundled extension, an attacker with database-level CREATE privilege can execute arbitrary code as the bootstrap superuser. (CVE-2023-39417)
Affected Packages:
postgresql
Note:
This advisory is applicable to Amazon Linux 2 - Postgresql12 Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update postgresql to update your system.
aarch64:
postgresql-12.15-1.amzn2.0.2.aarch64
postgresql-server-12.15-1.amzn2.0.2.aarch64
postgresql-docs-12.15-1.amzn2.0.2.aarch64
postgresql-contrib-12.15-1.amzn2.0.2.aarch64
postgresql-server-devel-12.15-1.amzn2.0.2.aarch64
postgresql-static-12.15-1.amzn2.0.2.aarch64
postgresql-upgrade-12.15-1.amzn2.0.2.aarch64
postgresql-upgrade-devel-12.15-1.amzn2.0.2.aarch64
postgresql-plperl-12.15-1.amzn2.0.2.aarch64
postgresql-plpython2-12.15-1.amzn2.0.2.aarch64
postgresql-plpython3-12.15-1.amzn2.0.2.aarch64
postgresql-pltcl-12.15-1.amzn2.0.2.aarch64
postgresql-test-12.15-1.amzn2.0.2.aarch64
postgresql-llvmjit-12.15-1.amzn2.0.2.aarch64
postgresql-debuginfo-12.15-1.amzn2.0.2.aarch64
i686:
postgresql-12.15-1.amzn2.0.2.i686
postgresql-server-12.15-1.amzn2.0.2.i686
postgresql-docs-12.15-1.amzn2.0.2.i686
postgresql-contrib-12.15-1.amzn2.0.2.i686
postgresql-server-devel-12.15-1.amzn2.0.2.i686
postgresql-static-12.15-1.amzn2.0.2.i686
postgresql-upgrade-12.15-1.amzn2.0.2.i686
postgresql-upgrade-devel-12.15-1.amzn2.0.2.i686
postgresql-plperl-12.15-1.amzn2.0.2.i686
postgresql-plpython2-12.15-1.amzn2.0.2.i686
postgresql-plpython3-12.15-1.amzn2.0.2.i686
postgresql-pltcl-12.15-1.amzn2.0.2.i686
postgresql-test-12.15-1.amzn2.0.2.i686
postgresql-llvmjit-12.15-1.amzn2.0.2.i686
postgresql-debuginfo-12.15-1.amzn2.0.2.i686
noarch:
postgresql-test-rpm-macros-12.15-1.amzn2.0.2.noarch
src:
postgresql-12.15-1.amzn2.0.2.src
x86_64:
postgresql-12.15-1.amzn2.0.2.x86_64
postgresql-server-12.15-1.amzn2.0.2.x86_64
postgresql-docs-12.15-1.amzn2.0.2.x86_64
postgresql-contrib-12.15-1.amzn2.0.2.x86_64
postgresql-server-devel-12.15-1.amzn2.0.2.x86_64
postgresql-static-12.15-1.amzn2.0.2.x86_64
postgresql-upgrade-12.15-1.amzn2.0.2.x86_64
postgresql-upgrade-devel-12.15-1.amzn2.0.2.x86_64
postgresql-plperl-12.15-1.amzn2.0.2.x86_64
postgresql-plpython2-12.15-1.amzn2.0.2.x86_64
postgresql-plpython3-12.15-1.amzn2.0.2.x86_64
postgresql-pltcl-12.15-1.amzn2.0.2.x86_64
postgresql-test-12.15-1.amzn2.0.2.x86_64
postgresql-llvmjit-12.15-1.amzn2.0.2.x86_64
postgresql-debuginfo-12.15-1.amzn2.0.2.x86_64