CVEvulnerability
CVE-2024-10979
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-11-14
- Last modified
- 2026-06-17
- Assigner
- f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
- CVSS 3.1 (f86ef6dc-4d3a-42ad-8f28-e6d5547a5007)
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-15, CWE-610
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.
Affected configurations
• postgresql postgresql (>= 12.0 < 12.21)
• postgresql postgresql (>= 13.0 < 13.17)
• postgresql postgresql (>= 14.0 < 14.14)
• postgresql postgresql (>= 15.0 < 15.9)
• postgresql postgresql (>= 16.0 < 16.5)
• postgresql postgresql (>= 17.0 < 17.1)
Related
References
- https://www.postgresql.org/support/security/CVE-2024-10979/ Vendor Advisory
- https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.md Exploit, Mitigation, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/11/msg00011.html lists.debian.org
- https://security.netapp.com/advisory/ntap-20250110-0003/ Third Party Advisory