CVE-2024-10979

Name
CVE-2024-10979
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
https://www.postgresql.org/support/security/CVE-2024-10979/
af854a3a-2127-422b-91ae-364da2661108 https://github.com/fmora50591/postgresql-env-vuln/blob/main/README.md
af854a3a-2127-422b-91ae-364da2661108 https://security.netapp.com/advisory/ntap-20250110-0003/

Match rules

CPE URI Source package Min version Max version
postgresql >= 17 < 17.1
postgresql >= 16 < 16.5
postgresql >= 15 < 15.9
postgresql >= 14 < 14.14
postgresql >= 13 < 13.17
postgresql >= 0 < 12.21
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 12.0 < 12.21
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 13.0 < 13.17
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 14.0 < 14.14
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 15.0 < 15.9
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 16.0 < 16.5
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* postgresql >= 17.0 < 17.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status