RHSA-2024:10788HighCVSS 8.8

Red Hat Security Advisory: postgresql:16 security update

Published
December 4, 2024
Last Modified
November 5, 2026

🔗 CVE IDs covered (3)

📋 Description

CVE-2024-10976 — postgresql: PostgreSQL row security below e.g. subqueries disregards user ID changes CVE-2024-10978 — postgresql: PostgreSQL SET ROLE, SET SESSION AUTHORIZATION reset to wrong user ID CVE-2024-10979 — postgresql: PostgreSQL PL/Perl environment variable changes execute arbitrary code

🎯 Affected products163

  • Red Hat Enterprise Linux AppStream (v. 9)
  • pg_repack-0:1.5.1-1.module+el9.5.0+22557+8cb08ba5.aarch64 (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pg_repack-0:1.5.1-1.module+el9.5.0+22557+8cb08ba5.ppc64le (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pg_repack-0:1.5.1-1.module+el9.5.0+22557+8cb08ba5.s390x (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pg_repack-0:1.5.1-1.module+el9.5.0+22557+8cb08ba5.src (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pg_repack-0:1.5.1-1.module+el9.5.0+22557+8cb08ba5.x86_64 (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pg_repack-debuginfo-0:1.5.1-1.module+el9.5.0+22557+8cb08ba5.aarch64 (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pg_repack-debuginfo-0:1.5.1-1.module+el9.5.0+22557+8cb08ba5.ppc64le (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pg_repack-debuginfo-0:1.5.1-1.module+el9.5.0+22557+8cb08ba5.s390x (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pg_repack-debuginfo-0:1.5.1-1.module+el9.5.0+22557+8cb08ba5.x86_64 (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pg_repack-debugsource-0:1.5.1-1.module+el9.5.0+22557+8cb08ba5.aarch64 (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pg_repack-debugsource-0:1.5.1-1.module+el9.5.0+22557+8cb08ba5.ppc64le (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pg_repack-debugsource-0:1.5.1-1.module+el9.5.0+22557+8cb08ba5.s390x (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pg_repack-debugsource-0:1.5.1-1.module+el9.5.0+22557+8cb08ba5.x86_64 (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgaudit-0:16.0-1.module+el9.4.0+20427+07482b8c.aarch64 (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgaudit-0:16.0-1.module+el9.4.0+20427+07482b8c.ppc64le (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgaudit-0:16.0-1.module+el9.4.0+20427+07482b8c.s390x (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgaudit-0:16.0-1.module+el9.4.0+20427+07482b8c.src (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgaudit-0:16.0-1.module+el9.4.0+20427+07482b8c.x86_64 (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgaudit-debuginfo-0:16.0-1.module+el9.4.0+20427+07482b8c.aarch64 (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgaudit-debuginfo-0:16.0-1.module+el9.4.0+20427+07482b8c.ppc64le (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgaudit-debuginfo-0:16.0-1.module+el9.4.0+20427+07482b8c.s390x (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgaudit-debuginfo-0:16.0-1.module+el9.4.0+20427+07482b8c.x86_64 (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgaudit-debugsource-0:16.0-1.module+el9.4.0+20427+07482b8c.aarch64 (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgaudit-debugsource-0:16.0-1.module+el9.4.0+20427+07482b8c.ppc64le (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgaudit-debugsource-0:16.0-1.module+el9.4.0+20427+07482b8c.s390x (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgaudit-debugsource-0:16.0-1.module+el9.4.0+20427+07482b8c.x86_64 (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgvector-0:0.6.2-1.module+el9.5.0+21770+ad2986ef.aarch64 (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgvector-0:0.6.2-1.module+el9.5.0+21770+ad2986ef.ppc64le (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • pgvector-0:0.6.2-1.module+el9.5.0+21770+ad2986ef.s390x (postgresql:16) as a component of Red Hat Enterprise Linux AppStream (v. 9)
  • +133 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: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. 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 (6)