CVE-2024-10979

HIGH

PostgreSQL <17.1-12.21 - Code Injection

Title source: llm

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.

Scores

CVSS v3 8.8
EPSS 0.0686
EPSS Percentile 91.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-15 CWE-610
Status published

Affected Products (1)

postgresql/postgresql < 12.21

Timeline

Published Nov 14, 2024
Tracked Since Feb 18, 2026