RHSA-2024:10827HighCVSS 8.8

Red Hat Security Advisory: postgresql security update

Published
December 5, 2024
Last Modified
November 5, 2026

🔗 CVE IDs covered (1)

📋 Description

CVE-2024-10979 — postgresql: PostgreSQL PL/Perl environment variable changes execute arbitrary code

🎯 Affected products86

  • Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-0:13.18-1.el9_0.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-0:13.18-1.el9_0.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-0:13.18-1.el9_0.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-0:13.18-1.el9_0.src as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-0:13.18-1.el9_0.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-contrib-0:13.18-1.el9_0.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-contrib-0:13.18-1.el9_0.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-contrib-0:13.18-1.el9_0.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-contrib-0:13.18-1.el9_0.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-contrib-debuginfo-0:13.18-1.el9_0.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-contrib-debuginfo-0:13.18-1.el9_0.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-contrib-debuginfo-0:13.18-1.el9_0.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-contrib-debuginfo-0:13.18-1.el9_0.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-debuginfo-0:13.18-1.el9_0.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-debuginfo-0:13.18-1.el9_0.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-debuginfo-0:13.18-1.el9_0.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-debuginfo-0:13.18-1.el9_0.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-debugsource-0:13.18-1.el9_0.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-debugsource-0:13.18-1.el9_0.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-debugsource-0:13.18-1.el9_0.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-debugsource-0:13.18-1.el9_0.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-docs-debuginfo-0:13.18-1.el9_0.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-docs-debuginfo-0:13.18-1.el9_0.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-docs-debuginfo-0:13.18-1.el9_0.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-docs-debuginfo-0:13.18-1.el9_0.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-plperl-0:13.18-1.el9_0.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-plperl-0:13.18-1.el9_0.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-plperl-0:13.18-1.el9_0.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • postgresql-plperl-0:13.18-1.el9_0.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
  • +56 more not shown

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: Currently the following options exist to help mitigate the impact of this vulnerability: 1) Restrict Permissions: the creation of PL/Python and PL/Perl functions should be limited to trusted users only. 2) Environment Variable Sanitization: ensure that environment variables are properly sanitized and any modifications are restricted. 3) Upgrade PostgreSQL: if a fix is released by the PostgreSQL Global Development Group, update to the latest version. 4) Audit Database Functions: perform regular audits on user-created functions to detect and prevent potential exploitation.

🔗 References (4)