RHSA-2024:10851HighCVSS 8.8

Red Hat Security Advisory: postgresql:15 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 products150

  • Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pg_repack-0:1.4.8-1.module+el8.8.0+17071+aaaceaa4.aarch64 (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pg_repack-0:1.4.8-1.module+el8.8.0+17071+aaaceaa4.ppc64le (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pg_repack-0:1.4.8-1.module+el8.8.0+17071+aaaceaa4.s390x (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pg_repack-0:1.4.8-1.module+el8.8.0+17071+aaaceaa4.src (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pg_repack-0:1.4.8-1.module+el8.8.0+17071+aaaceaa4.x86_64 (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pg_repack-debuginfo-0:1.4.8-1.module+el8.8.0+17071+aaaceaa4.aarch64 (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pg_repack-debuginfo-0:1.4.8-1.module+el8.8.0+17071+aaaceaa4.ppc64le (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pg_repack-debuginfo-0:1.4.8-1.module+el8.8.0+17071+aaaceaa4.s390x (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pg_repack-debuginfo-0:1.4.8-1.module+el8.8.0+17071+aaaceaa4.x86_64 (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pg_repack-debugsource-0:1.4.8-1.module+el8.8.0+17071+aaaceaa4.aarch64 (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pg_repack-debugsource-0:1.4.8-1.module+el8.8.0+17071+aaaceaa4.ppc64le (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pg_repack-debugsource-0:1.4.8-1.module+el8.8.0+17071+aaaceaa4.s390x (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pg_repack-debugsource-0:1.4.8-1.module+el8.8.0+17071+aaaceaa4.x86_64 (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pgaudit-0:1.7.0-1.module+el8.8.0+17071+aaaceaa4.aarch64 (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pgaudit-0:1.7.0-1.module+el8.8.0+17071+aaaceaa4.ppc64le (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pgaudit-0:1.7.0-1.module+el8.8.0+17071+aaaceaa4.s390x (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pgaudit-0:1.7.0-1.module+el8.8.0+17071+aaaceaa4.src (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pgaudit-0:1.7.0-1.module+el8.8.0+17071+aaaceaa4.x86_64 (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pgaudit-debuginfo-0:1.7.0-1.module+el8.8.0+17071+aaaceaa4.aarch64 (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pgaudit-debuginfo-0:1.7.0-1.module+el8.8.0+17071+aaaceaa4.ppc64le (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pgaudit-debuginfo-0:1.7.0-1.module+el8.8.0+17071+aaaceaa4.s390x (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pgaudit-debuginfo-0:1.7.0-1.module+el8.8.0+17071+aaaceaa4.x86_64 (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pgaudit-debugsource-0:1.7.0-1.module+el8.8.0+17071+aaaceaa4.aarch64 (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pgaudit-debugsource-0:1.7.0-1.module+el8.8.0+17071+aaaceaa4.ppc64le (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pgaudit-debugsource-0:1.7.0-1.module+el8.8.0+17071+aaaceaa4.s390x (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • pgaudit-debugsource-0:1.7.0-1.module+el8.8.0+17071+aaaceaa4.x86_64 (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • postgres-decoderbufs-0:1.9.7-1.Final.module+el8.8.0+17071+aaaceaa4.aarch64 (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • postgres-decoderbufs-0:1.9.7-1.Final.module+el8.8.0+17071+aaaceaa4.ppc64le (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • postgres-decoderbufs-0:1.9.7-1.Final.module+el8.8.0+17071+aaaceaa4.s390x (postgresql:15) as a component of Red Hat Enterprise Linux AppStream EUS (v.8.8)
  • +120 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)