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.
References (4)
Core 4
Core References
Vendor Advisory
https://www.postgresql.org/support/security/CVE-2024-10979/
Exploit, Mitigation, Third Party Advisory
https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.md
Third Party Advisory
https://security.netapp.com/advisory/ntap-20250110-0003/
Scores
CVSS v3
8.8
EPSS
0.0442
EPSS Percentile
90.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-15
CWE-610
Status
published
Products (1)
postgresql/postgresql
12.0 - 12.21
Published
Nov 14, 2024
Tracked Since
Feb 18, 2026