ALAS-2025-870


Amazon Linux 2023 Security Advisory: ALAS-2025-870
Advisory Release Date: 2025-02-26 23:14 Pacific
Advisory Updated Date: 2025-03-05 16:33 Pacific
Severity: Important

Issue Overview:

Improper neutralization of quoting syntax in PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() allows a database input provider to achieve SQL injection in certain usage patterns. Specifically, SQL injection requires the application to use the function result to construct input to psql, the PostgreSQL interactive terminal. Similarly, improper neutralization of quoting syntax in PostgreSQL command line utility programs allows a source of command line arguments to achieve SQL injection when client_encoding is BIG5 and server_encoding is one of EUC_TW or MULE_INTERNAL. Versions before PostgreSQL 17.3, 16.7, 15.11, 14.16, and 13.19 are affected. (CVE-2025-1094)


Affected Packages:

postgresql16


Issue Correction:
Run dnf update postgresql16 --releasever 2023.6.20250303 to update your system.

New Packages:
aarch64:
    postgresql16-server-debuginfo-16.8-1.amzn2023.0.1.aarch64
    postgresql16-pltcl-debuginfo-16.8-1.amzn2023.0.1.aarch64
    postgresql16-pltcl-16.8-1.amzn2023.0.1.aarch64
    postgresql16-docs-debuginfo-16.8-1.amzn2023.0.1.aarch64
    postgresql16-private-devel-16.8-1.amzn2023.0.1.aarch64
    postgresql16-test-16.8-1.amzn2023.0.1.aarch64
    postgresql16-upgrade-debuginfo-16.8-1.amzn2023.0.1.aarch64
    postgresql16-plpython3-debuginfo-16.8-1.amzn2023.0.1.aarch64
    postgresql16-debuginfo-16.8-1.amzn2023.0.1.aarch64
    postgresql16-llvmjit-debuginfo-16.8-1.amzn2023.0.1.aarch64
    postgresql16-contrib-debuginfo-16.8-1.amzn2023.0.1.aarch64
    postgresql16-server-devel-debuginfo-16.8-1.amzn2023.0.1.aarch64
    postgresql16-private-libs-16.8-1.amzn2023.0.1.aarch64
    postgresql16-test-debuginfo-16.8-1.amzn2023.0.1.aarch64
    postgresql16-private-libs-debuginfo-16.8-1.amzn2023.0.1.aarch64
    postgresql16-plperl-16.8-1.amzn2023.0.1.aarch64
    postgresql16-server-16.8-1.amzn2023.0.1.aarch64
    postgresql16-upgrade-devel-debuginfo-16.8-1.amzn2023.0.1.aarch64
    postgresql16-plpython3-16.8-1.amzn2023.0.1.aarch64
    postgresql16-static-16.8-1.amzn2023.0.1.aarch64
    postgresql16-plperl-debuginfo-16.8-1.amzn2023.0.1.aarch64
    postgresql16-llvmjit-16.8-1.amzn2023.0.1.aarch64
    postgresql16-16.8-1.amzn2023.0.1.aarch64
    postgresql16-contrib-16.8-1.amzn2023.0.1.aarch64
    postgresql16-upgrade-16.8-1.amzn2023.0.1.aarch64
    postgresql16-upgrade-devel-16.8-1.amzn2023.0.1.aarch64
    postgresql16-server-devel-16.8-1.amzn2023.0.1.aarch64
    postgresql16-docs-16.8-1.amzn2023.0.1.aarch64
    postgresql16-debugsource-16.8-1.amzn2023.0.1.aarch64

noarch:
    postgresql16-test-rpm-macros-16.8-1.amzn2023.0.1.noarch

src:
    postgresql16-16.8-1.amzn2023.0.1.src

x86_64:
    postgresql16-private-devel-16.8-1.amzn2023.0.1.x86_64
    postgresql16-plperl-16.8-1.amzn2023.0.1.x86_64
    postgresql16-private-libs-debuginfo-16.8-1.amzn2023.0.1.x86_64
    postgresql16-upgrade-debuginfo-16.8-1.amzn2023.0.1.x86_64
    postgresql16-static-16.8-1.amzn2023.0.1.x86_64
    postgresql16-test-debuginfo-16.8-1.amzn2023.0.1.x86_64
    postgresql16-upgrade-devel-16.8-1.amzn2023.0.1.x86_64
    postgresql16-upgrade-devel-debuginfo-16.8-1.amzn2023.0.1.x86_64
    postgresql16-server-devel-debuginfo-16.8-1.amzn2023.0.1.x86_64
    postgresql16-contrib-debuginfo-16.8-1.amzn2023.0.1.x86_64
    postgresql16-llvmjit-16.8-1.amzn2023.0.1.x86_64
    postgresql16-server-debuginfo-16.8-1.amzn2023.0.1.x86_64
    postgresql16-plperl-debuginfo-16.8-1.amzn2023.0.1.x86_64
    postgresql16-llvmjit-debuginfo-16.8-1.amzn2023.0.1.x86_64
    postgresql16-plpython3-debuginfo-16.8-1.amzn2023.0.1.x86_64
    postgresql16-docs-debuginfo-16.8-1.amzn2023.0.1.x86_64
    postgresql16-pltcl-debuginfo-16.8-1.amzn2023.0.1.x86_64
    postgresql16-debuginfo-16.8-1.amzn2023.0.1.x86_64
    postgresql16-16.8-1.amzn2023.0.1.x86_64
    postgresql16-pltcl-16.8-1.amzn2023.0.1.x86_64
    postgresql16-test-16.8-1.amzn2023.0.1.x86_64
    postgresql16-private-libs-16.8-1.amzn2023.0.1.x86_64
    postgresql16-debugsource-16.8-1.amzn2023.0.1.x86_64
    postgresql16-plpython3-16.8-1.amzn2023.0.1.x86_64
    postgresql16-contrib-16.8-1.amzn2023.0.1.x86_64
    postgresql16-server-devel-16.8-1.amzn2023.0.1.x86_64
    postgresql16-docs-16.8-1.amzn2023.0.1.x86_64
    postgresql16-server-16.8-1.amzn2023.0.1.x86_64
    postgresql16-upgrade-16.8-1.amzn2023.0.1.x86_64