Amazon Linux 2 Security Advisory: ALAS-2025-2764
Advisory Release Date: 2025-02-12 23:17 Pacific
Advisory Updated Date: 2025-02-25 10:30 Pacific
Incorrect control of environment variables in PostgreSQL PL/Perl allows an unprivileged database user to change sensitive process environment variables (e.g. PATH). That often suffices to enable arbitrary code execution, even if the attacker lacks a database server operating system user. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected. (CVE-2024-10979)
Affected Packages:
postgresql
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit 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-9.2.24-8.amzn2.0.5.aarch64
postgresql-libs-9.2.24-8.amzn2.0.5.aarch64
postgresql-server-9.2.24-8.amzn2.0.5.aarch64
postgresql-docs-9.2.24-8.amzn2.0.5.aarch64
postgresql-contrib-9.2.24-8.amzn2.0.5.aarch64
postgresql-devel-9.2.24-8.amzn2.0.5.aarch64
postgresql-static-9.2.24-8.amzn2.0.5.aarch64
postgresql-upgrade-9.2.24-8.amzn2.0.5.aarch64
postgresql-plperl-9.2.24-8.amzn2.0.5.aarch64
postgresql-plpython-9.2.24-8.amzn2.0.5.aarch64
postgresql-pltcl-9.2.24-8.amzn2.0.5.aarch64
postgresql-test-9.2.24-8.amzn2.0.5.aarch64
postgresql-debuginfo-9.2.24-8.amzn2.0.5.aarch64
i686:
postgresql-9.2.24-8.amzn2.0.5.i686
postgresql-libs-9.2.24-8.amzn2.0.5.i686
postgresql-server-9.2.24-8.amzn2.0.5.i686
postgresql-docs-9.2.24-8.amzn2.0.5.i686
postgresql-contrib-9.2.24-8.amzn2.0.5.i686
postgresql-devel-9.2.24-8.amzn2.0.5.i686
postgresql-static-9.2.24-8.amzn2.0.5.i686
postgresql-upgrade-9.2.24-8.amzn2.0.5.i686
postgresql-plperl-9.2.24-8.amzn2.0.5.i686
postgresql-plpython-9.2.24-8.amzn2.0.5.i686
postgresql-pltcl-9.2.24-8.amzn2.0.5.i686
postgresql-test-9.2.24-8.amzn2.0.5.i686
postgresql-debuginfo-9.2.24-8.amzn2.0.5.i686
src:
postgresql-9.2.24-8.amzn2.0.5.src
x86_64:
postgresql-9.2.24-8.amzn2.0.5.x86_64
postgresql-libs-9.2.24-8.amzn2.0.5.x86_64
postgresql-server-9.2.24-8.amzn2.0.5.x86_64
postgresql-docs-9.2.24-8.amzn2.0.5.x86_64
postgresql-contrib-9.2.24-8.amzn2.0.5.x86_64
postgresql-devel-9.2.24-8.amzn2.0.5.x86_64
postgresql-static-9.2.24-8.amzn2.0.5.x86_64
postgresql-upgrade-9.2.24-8.amzn2.0.5.x86_64
postgresql-plperl-9.2.24-8.amzn2.0.5.x86_64
postgresql-plpython-9.2.24-8.amzn2.0.5.x86_64
postgresql-pltcl-9.2.24-8.amzn2.0.5.x86_64
postgresql-test-9.2.24-8.amzn2.0.5.x86_64
postgresql-debuginfo-9.2.24-8.amzn2.0.5.x86_64