CVE-2024-10979
PostgreSQL PL/Perl environment variable changes execute arbitrary code
Summary
PostgreSQL PL/Perl environment variable changes execute arbitrary code
Original description
The description as published by the source.
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 packages
Bitnami
postgresql
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"13.17.0"},{"introduced":"14.0.0"},{"fixed":"14.14.0"},{"introduced":"15.0.0"},{"fixed":"15.9.0"},{"introduced":"16.0.0"},{"fixed":"16.5.0"},{"introduced":"17.0.0"},{"fixed":"17.1.0"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2024-10979 postgresql14 Fixed in: 14.14-r0
- Debian DEBIAN-CVE-2024-10979 postgresql-13 Fixed in: 13.17-0+deb11u1
References
- advisory postgresql.org
- advisory github.com
- advisory security.netapp.com
- web nvd.nist.gov
- web lists.debian.org