Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

CVE-2024-10979

Public on 2024-11-14
Modified on 2024-11-19
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
See what this means
CVSS v3 Base Score
8.8
See breakdown
Continue reading

Affected Packages

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

CVSS Scores

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