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.
Platform | Package | Release Date | Advisory |
---|---|---|---|
Amazon Linux 2 - Core | postgresql | 2025-02-12 23:17 | ALAS2-2025-2764 |
Amazon Linux 2 - Postgresql13 Extra | postgresql | 2024-12-05 01:00 | ALAS2POSTGRESQL13-2024-008 |
Amazon Linux 2 - Postgresql14 Extra | postgresql | 2024-12-05 01:00 | ALAS2POSTGRESQL14-2024-014 |
Amazon Linux 2 - Postgresql14 Extra | libpq | 2024-12-05 01:00 | ALAS2POSTGRESQL14-2024-015 |
Amazon Linux 2023 | postgresql15 | 2024-12-05 20:34 | ALAS2023-2024-787 |
Amazon Linux 2023 | postgresql16 | 2024-12-05 20:34 | ALAS2023-2024-786 |
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
NVD | CVSSv3 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |