CVE-2024-10979

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

History

11 Feb 2025, 21:27

Type Values Removed Values Added
CPE cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
First Time Postgresql postgresql
Postgresql
References () https://www.postgresql.org/support/security/CVE-2024-10979/ - () https://www.postgresql.org/support/security/CVE-2024-10979/ - Vendor Advisory
References () https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.md - () https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.md - Exploit, Mitigation, Third Party Advisory
References () https://security.netapp.com/advisory/ntap-20250110-0003/ - () https://security.netapp.com/advisory/ntap-20250110-0003/ - Third Party Advisory
CWE CWE-610

10 Jan 2025, 13:15

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20250110-0003/ -

Information

Published : 2024-11-14 13:15

Updated : 2025-02-11 21:27


NVD link : CVE-2024-10979

Mitre link : CVE-2024-10979

CVE.ORG link : CVE-2024-10979


JSON object : View

Products Affected

postgresql

  • postgresql
CWE
CWE-15

External Control of System or Configuration Setting

CWE-610

Externally Controlled Reference to a Resource in Another Sphere