ALAS-2025-1959


Amazon Linux 1 Security Advisory: ALAS-2025-1959
Advisory Release Date: 2025-01-30 04:16 Pacific
Advisory Updated Date: 2025-02-05 10:41 Pacific
Severity: Important

Issue Overview:

While modifying certain SQL array values, missing overflow checks let authenticated database users write arbitrary bytes to a memory area that facilitates arbitrary code execution. Missing overflow checks also let authenticated database users read a wide area of server memory. The CVE-2021-32027 fix covered some attacks of this description, but it missed others. (CVE-2023-5869)

Time-of-check Time-of-use (TOCTOU) race condition in pg_dump in PostgreSQL allows an object creator to execute arbitrary SQL functions as the user running pg_dump, which is often a superuser. The attack involves replacing another relation type with a view or foreign table. The attack requires waiting for pg_dump to start, but winning the race condition is trivial if the attacker retains an open transaction. Versions before PostgreSQL 16.4, 15.8, 14.13, 13.16, and 12.20 are affected. (CVE-2024-7348)


Affected Packages:

postgresql92


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

New Packages:
i686:
    postgresql92-plperl-9.2.24-3.70.amzn1.i686
    postgresql92-pltcl-9.2.24-3.70.amzn1.i686
    postgresql92-contrib-9.2.24-3.70.amzn1.i686
    postgresql92-devel-9.2.24-3.70.amzn1.i686
    postgresql92-test-9.2.24-3.70.amzn1.i686
    postgresql92-server-compat-9.2.24-3.70.amzn1.i686
    postgresql92-libs-9.2.24-3.70.amzn1.i686
    postgresql92-plpython27-9.2.24-3.70.amzn1.i686
    postgresql92-server-9.2.24-3.70.amzn1.i686
    postgresql92-docs-9.2.24-3.70.amzn1.i686
    postgresql92-plpython26-9.2.24-3.70.amzn1.i686
    postgresql92-9.2.24-3.70.amzn1.i686
    postgresql92-debuginfo-9.2.24-3.70.amzn1.i686

src:
    postgresql92-9.2.24-3.70.amzn1.src

x86_64:
    postgresql92-server-compat-9.2.24-3.70.amzn1.x86_64
    postgresql92-libs-9.2.24-3.70.amzn1.x86_64
    postgresql92-server-9.2.24-3.70.amzn1.x86_64
    postgresql92-plpython26-9.2.24-3.70.amzn1.x86_64
    postgresql92-docs-9.2.24-3.70.amzn1.x86_64
    postgresql92-pltcl-9.2.24-3.70.amzn1.x86_64
    postgresql92-devel-9.2.24-3.70.amzn1.x86_64
    postgresql92-9.2.24-3.70.amzn1.x86_64
    postgresql92-plpython27-9.2.24-3.70.amzn1.x86_64
    postgresql92-contrib-9.2.24-3.70.amzn1.x86_64
    postgresql92-test-9.2.24-3.70.amzn1.x86_64
    postgresql92-plperl-9.2.24-3.70.amzn1.x86_64
    postgresql92-debuginfo-9.2.24-3.70.amzn1.x86_64