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
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
First Time Postgresql
Postgresql postgresql
CPE cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*

10 Jan 2025, 13:15

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

25 Nov 2024, 05:15

Type Values Removed Values Added
References
  • () https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.md -

15 Nov 2024, 13:58

Type Values Removed Values Added
Summary
  • (es) El control incorrecto de las variables de entorno en PostgreSQL PL/Perl permite que un usuario de base de datos sin privilegios modifique variables de entorno de proceso sensibles (por ejemplo, PATH). Esto suele ser suficiente para permitir la ejecución de código arbitrario, incluso si el atacante no tiene un usuario del sistema operativo del servidor de base de datos. Las versiones anteriores a PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17 y 12.21 se ven afectadas.

14 Nov 2024, 13:15

Type Values Removed Values Added
New CVE

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