Vulnerabilities · 2024 · Postgresql
CVE-2024-10979
Postgresql vulnerability
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 products
Postgresql. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Postgresql runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.postgresql.org/support/security/CVE-2024-10979/ · Vendor Advisory
- github.com/fmora50591/postgresql-env-vuln/blob/main/README.md · Exploit
- security.netapp.com/advisory/ntap-20250110-0003/ · Third Party Advisory
- lists.debian.org/debian-lts-announce/2024/11/msg00011.html
- nvd.nist.gov/vuln/detail/CVE-2024-10979
- cve.org/CVERecord?id=CVE-2024-10979
More vulnerabilities in Postgresql products
CVE-2025-49146CVE-2024-10978CVE-2024-10977CVE-2024-10976CVE-2024-7348CVE-2024-4317CVE-2024-1597CVE-2024-0985All 168
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.