Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2024-10979: 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.
Fixed packages 13
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | postgresql | 0:9.2.24-8.amzn2.0.5 |
| Amazon Linux · 2 | postgresql-contrib | 0:9.2.24-8.amzn2.0.5 |
| Amazon Linux · 2 | postgresql-debuginfo | 0:9.2.24-8.amzn2.0.5 |
| Amazon Linux · 2 | postgresql-devel | 0:9.2.24-8.amzn2.0.5 |
| Amazon Linux · 2 | postgresql-docs | 0:9.2.24-8.amzn2.0.5 |
| Amazon Linux · 2 | postgresql-libs | 0:9.2.24-8.amzn2.0.5 |
| Amazon Linux · 2 | postgresql-plperl | 0:9.2.24-8.amzn2.0.5 |
| Amazon Linux · 2 | postgresql-plpython | 0:9.2.24-8.amzn2.0.5 |
| Amazon Linux · 2 | postgresql-pltcl | 0:9.2.24-8.amzn2.0.5 |
| Amazon Linux · 2 | postgresql-server | 0:9.2.24-8.amzn2.0.5 |
| Amazon Linux · 2 | postgresql-static | 0:9.2.24-8.amzn2.0.5 |
| Amazon Linux · 2 | postgresql-test | 0:9.2.24-8.amzn2.0.5 |
| Amazon Linux · 2 | postgresql-upgrade | 0:9.2.24-8.amzn2.0.5 |
Vulnerabilities 1
-
High 8.8
PostgreSQL PL/Perl environment variable changes execute arbitrary code
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 …
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2024-10979.html