CVE-2024-10979

8.8 HIGH
Published: November 14, 2024 Modified: November 03, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://www.postgresql.org/support/security/CVE-2024-10979/
Source: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Vendor Advisory
https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.md
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Mitigation Third Party Advisory
https://security.netapp.com/advisory/ntap-20250110-0003/
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
8.8 / 10.0
EPSS (Exploit Probability)
6.9%
91th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

postgresql