ALAS-2025-869


Amazon Linux 2023 Security Advisory: ALAS-2025-869
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:

postgresql15


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

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

noarch:
    postgresql15-test-rpm-macros-15.12-1.amzn2023.0.1.noarch

src:
    postgresql15-15.12-1.amzn2023.0.1.src

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