All vulnerabilities

Servers and applications

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.

Severity
High 8.8
Published
14 Nov 2024
Last changed
17 Jun 2026
Added to UpHeron
16 Oct 2026
Fixed in
12.21, 13.17, 14.14, 15.9, 16.5, 17.1
Sources
NVD

Affected software

SoftwareAffected versions
PostgreSQLServers and applications · cpe:a:postgresql:postgresql
  • From 12.0 before 12.21
  • From 13.0 before 13.17
  • From 14.0 before 14.14
  • From 15.0 before 15.9
  • From 16.0 before 16.5
  • From 17.0 before 17.1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-10979
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-10979