RHSA-2024:10846HighCVSS 8.8

Red Hat Security Advisory: postgresql:13 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 products135

  • Red Hat Enterprise Linux AppStream AUS (v.8.4)
  • Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • Red Hat Enterprise Linux AppStream TUS (v.8.4)
  • pgaudit-0:1.5.0-1.module+el8.4.0+8873+b821c30a.ppc64le (postgresql:13) as a component of Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • pgaudit-0:1.5.0-1.module+el8.4.0+8873+b821c30a.src (postgresql:13) as a component of Red Hat Enterprise Linux AppStream AUS (v.8.4)
  • pgaudit-0:1.5.0-1.module+el8.4.0+8873+b821c30a.src (postgresql:13) as a component of Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • pgaudit-0:1.5.0-1.module+el8.4.0+8873+b821c30a.src (postgresql:13) as a component of Red Hat Enterprise Linux AppStream TUS (v.8.4)
  • pgaudit-0:1.5.0-1.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream AUS (v.8.4)
  • pgaudit-0:1.5.0-1.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • pgaudit-0:1.5.0-1.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream TUS (v.8.4)
  • pgaudit-debuginfo-0:1.5.0-1.module+el8.4.0+8873+b821c30a.ppc64le (postgresql:13) as a component of Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • pgaudit-debuginfo-0:1.5.0-1.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream AUS (v.8.4)
  • pgaudit-debuginfo-0:1.5.0-1.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • pgaudit-debuginfo-0:1.5.0-1.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream TUS (v.8.4)
  • pgaudit-debugsource-0:1.5.0-1.module+el8.4.0+8873+b821c30a.ppc64le (postgresql:13) as a component of Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • pgaudit-debugsource-0:1.5.0-1.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream AUS (v.8.4)
  • pgaudit-debugsource-0:1.5.0-1.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • pgaudit-debugsource-0:1.5.0-1.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream TUS (v.8.4)
  • postgres-decoderbufs-0:0.10.0-2.module+el8.4.0+8873+b821c30a.ppc64le (postgresql:13) as a component of Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • postgres-decoderbufs-0:0.10.0-2.module+el8.4.0+8873+b821c30a.src (postgresql:13) as a component of Red Hat Enterprise Linux AppStream AUS (v.8.4)
  • postgres-decoderbufs-0:0.10.0-2.module+el8.4.0+8873+b821c30a.src (postgresql:13) as a component of Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • postgres-decoderbufs-0:0.10.0-2.module+el8.4.0+8873+b821c30a.src (postgresql:13) as a component of Red Hat Enterprise Linux AppStream TUS (v.8.4)
  • postgres-decoderbufs-0:0.10.0-2.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream AUS (v.8.4)
  • postgres-decoderbufs-0:0.10.0-2.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • postgres-decoderbufs-0:0.10.0-2.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream TUS (v.8.4)
  • postgres-decoderbufs-debuginfo-0:0.10.0-2.module+el8.4.0+8873+b821c30a.ppc64le (postgresql:13) as a component of Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • postgres-decoderbufs-debuginfo-0:0.10.0-2.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream AUS (v.8.4)
  • postgres-decoderbufs-debuginfo-0:0.10.0-2.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • postgres-decoderbufs-debuginfo-0:0.10.0-2.module+el8.4.0+8873+b821c30a.x86_64 (postgresql:13) as a component of Red Hat Enterprise Linux AppStream TUS (v.8.4)
  • postgres-decoderbufs-debugsource-0:0.10.0-2.module+el8.4.0+8873+b821c30a.ppc64le (postgresql:13) as a component of Red Hat Enterprise Linux AppStream E4S (v.8.4)
  • +105 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)