CVE-2024-10979

Public on 2024-11-14
Modified on 2024-12-11
Description
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.
Severity
Important severity
Important
CVSS v3 Base Score
8.8
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
HAQM Linux 2 - Postgresql14 Extra libpq 2024-12-05 ALAS2POSTGRESQL14-2024-015 Fixed
HAQM Linux 2 - Core postgresql 2025-02-12 ALAS2-2025-2764 Fixed
HAQM Linux 2 - Postgresql13 Extra postgresql 2024-12-05 ALAS2POSTGRESQL13-2024-008 Fixed
HAQM Linux 2 - Postgresql14 Extra postgresql 2024-12-05 ALAS2POSTGRESQL14-2024-014 Fixed
HAQM Linux 2023 postgresql15 2024-12-05 ALAS2023-2024-787 Fixed
HAQM Linux 2023 postgresql16 2024-12-05 ALAS2023-2024-786 Fixed
HAQM Linux 1 postgresql8 No Fix Planned
HAQM Linux 1 postgresql92 No Fix Planned
HAQM Linux 1 postgresql93 No Fix Planned
HAQM Linux 1 postgresql94 No Fix Planned
HAQM Linux 1 postgresql95 No Fix Planned
HAQM Linux 1 postgresql96 No Fix Planned

CVSS Scores

Score Type Score Vector
HAQM 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