CVE-2024-10977

postgresql: This update for postgresql, postgresql16, postgresql17 fixes the following issues: This update ships postgresql17 ,...

CVE-2024-10977 is fixed in 92 products on 1 platform, first by libecpg-compat3 12.22-0ubuntu0.20.04.1, released November 14, 2024. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
3.7
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0040
34th percentile

This update for postgresql, postgresql16, postgresql17 fixes the following issues: This update ships postgresql17 , and fixes security issues with postgresql16: - bsc#1230423: Relax the dependency of extensions on the server version from exact major.minor to greater or equal, after Tom Lane confirmed on the PostgreSQL packagers list that ABI stability is being taken care of between minor releases. - bsc#1219340: The last fix was not correct. Improve it by removing the dependency again and call fillup only if it is installed. postgresql16 was updated to 16.6: * Repair ABI break for extensions that work with struct ResultRelInfo. * Restore functionality of ALTER {ROLE|DATABASE} SET role. * Fix cases where a logical replication slot's restart_lsn could go backwards. * Avoid deleting still-needed WAL files during pg_rewind. * Fix race conditions associated with dropping shared statistics entries. * Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter. * Fix crash when checking to see if an index's opclass options have changed. * Avoid assertion failure caused by disconnected NFA sub-graphs in regular expression parsing. * https://www.postgresql.org/docs/release/16.6/ postgresql16 was updated to 16.5: * CVE-2024-10976, bsc#1233323: Ensure cached plans are marked as dependent on the calling role when RLS applies to a non-top-level table reference. * CVE-2024-10977, bsc#1233325: Make libpq discard error messages received during SSL or GSS protocol negotiation. * CVE-2024-10978, bsc#1233326: Fix unintended interactions between SET SESSION AUTHORIZATION and SET ROLE * CVE-2024-10979, bsc#1233327: Prevent trusted PL/Perl code from changing environment variables. * https://www.postgresql.org/about/news/p-2955/ * https://www.postgresql.org/docs/release/16.5/ - Don't build the libs and mini flavor anymore to hand over to PostgreSQL 17. * https://www.postgresql.org/about/news/p-2910/ postgresql17 is shipped in version 17.2: * CVE-2024-10976, bsc#1233323: Ensure cached plans are marked as dependent on the calling role when RLS applies to a non-top-level table reference. * CVE-2024-10977, bsc#1233325: Make libpq discard error messages received during SSL or GSS protocol negotiation. * CVE-2024-10978, bsc#1233326: Fix unintended interactions between SET SESSION AUTHORIZATION and SET ROLE * CVE-2024-10979, bsc#1233327: Prevent trusted PL/Perl code from changing environment variables. * https://www.postgresql.org/about/news/p-2955/ * https://www.postgresql.org/docs/release/17.1/ * https://www.postgresql.org/docs/release/17.2/ Upgrade to 17.2: * Repair ABI break for extensions that work with struct ResultRelInfo. * Restore functionality of ALTER {ROLE|DATABASE} SET role. * Fix cases where a logical replication slot's restart_lsn could go backwards. * Avoid deleting still-needed WAL files during pg_rewind. * Fix race conditions associated with dropping shared statistics entries. * Count index scans in contrib/bloom indexes in the statistics views, such as the pg_stat_user_indexes.idx_scan counter. * Fix crash when checking to see if an index's opclass options have changed. * Avoid assertion failure caused by disconnected NFA sub-graphs in regular expression parsing. Upgrade to 17.0: * New memory management system for VACUUM, which reduces memory consumption and can improve overall vacuuming performance. * New SQL/JSON capabilities, including constructors, identity functions, and the JSON_TABLE() function, which converts JSON data into a table representation. * Various query performance improvements, including for sequential reads using streaming I/O, write throughput under high concurrency, and searches over multiple values in a btree index. * Logical replication enhancements, including: + Failover control + pg_createsubscriber, a utility that creates logical replicas from physical standbys + pg_upgrade now preserves replication slots on both publishers and subscribers * New client-side connection option, sslnegotiation=direct, that performs a direct TLS handshake to avoid a round-trip negotiation. * pg_basebackup now supports incremental backup. * COPY adds a new option, ON_ERROR ignore, that allows a copy operation to continue in the event of an error. * https://www.postgresql.org/about/news/p-2936/ * https://www.postgresql.org/docs/17/release-17.html

Where it's fixed

ProductFixed inFixReleased
Linux
libecpg-compat3 · Ubuntu 20.04 LTS (focal) 12.22-0ubuntu0.20.04.1 libecpg-compat3 12.22-0ubuntu0.20.04.1 Nov 14, 2024
libecpg-compat3 · Ubuntu 22.04.1 LTS (jammy) 14.15-0ubuntu0.22.04.1 libecpg-compat3 14.15-0ubuntu0.22.04.1 Nov 14, 2024
libecpg-compat3 · Ubuntu 24.04.5 LTS (noble) 16.6-0ubuntu0.24.04.1 libecpg-compat3 16.6-0ubuntu0.24.04.1 Nov 14, 2024
libecpg-compat3 · Ubuntu 24.10 (oracular) 16.6-0ubuntu0.24.10.1 libecpg-compat3 16.6-0ubuntu0.24.10.1 Jan 16, 2026
libecpg6 · Ubuntu 20.04 LTS (focal) 12.22-0ubuntu0.20.04.1 libecpg6 12.22-0ubuntu0.20.04.1 Nov 14, 2024
libecpg6 · Ubuntu 22.04.1 LTS (jammy) 14.15-0ubuntu0.22.04.1 libecpg6 14.15-0ubuntu0.22.04.1 Nov 14, 2024
libecpg6 · Ubuntu 24.04.5 LTS (noble) 16.6-0ubuntu0.24.04.1 libecpg6 16.6-0ubuntu0.24.04.1 Nov 14, 2024
libecpg6 · Ubuntu 24.10 (oracular) 16.6-0ubuntu0.24.10.1 libecpg6 16.6-0ubuntu0.24.10.1 Jan 16, 2026
libpgtypes3 · Ubuntu 20.04 LTS (focal) 12.22-0ubuntu0.20.04.1 libpgtypes3 12.22-0ubuntu0.20.04.1 Nov 14, 2024
libpgtypes3 · Ubuntu 22.04.1 LTS (jammy) 14.15-0ubuntu0.22.04.1 libpgtypes3 14.15-0ubuntu0.22.04.1 Nov 14, 2024
libpgtypes3 · Ubuntu 24.04.5 LTS (noble) 16.6-0ubuntu0.24.04.1 libpgtypes3 16.6-0ubuntu0.24.04.1 Nov 14, 2024
libpgtypes3 · Ubuntu 24.10 (oracular) 16.6-0ubuntu0.24.10.1 libpgtypes3 16.6-0ubuntu0.24.10.1 Jan 16, 2026
libpq5 · Ubuntu 20.04 LTS (focal) 12.22-0ubuntu0.20.04.1 libpq5 12.22-0ubuntu0.20.04.1 Nov 14, 2024
libpq5 · Ubuntu 22.04.1 LTS (jammy) 14.15-0ubuntu0.22.04.1 libpq5 14.15-0ubuntu0.22.04.1 Nov 14, 2024
libpq5 · Ubuntu 24.04.5 LTS (noble) 16.6-0ubuntu0.24.04.1 libpq5 16.6-0ubuntu0.24.04.1 Nov 14, 2024
libpq5 · Ubuntu 24.10 (oracular) 16.6-0ubuntu0.24.10.1 libpq5 16.6-0ubuntu0.24.10.1 Jan 16, 2026
postgresql · opensuse-leap 15.6 17-150600.17.6.1 SUSE-SU-2024:4063-1 Nov 26, 2024
postgresql · sles 15.6 17-150600.17.6.1 SUSE-SU-2024:4063-1 Nov 26, 2024
postgresql-12 · Ubuntu 20.04 LTS (focal) 12.22-0ubuntu0.20.04.1 postgresql-12 12.22-0ubuntu0.20.04.1 Nov 14, 2024
postgresql-14 · Ubuntu 22.04.1 LTS (jammy) 14.15-0ubuntu0.22.04.1 postgresql-14 14.15-0ubuntu0.22.04.1 Nov 14, 2024
postgresql-15 · Debian 12.15 (bookworm) 15.9-0+deb12u1 DEBIAN-CVE-2024-10977 Nov 14, 2024
postgresql-16 · Ubuntu 24.04.5 LTS (noble) 16.6-0ubuntu0.24.04.1 postgresql-16 16.6-0ubuntu0.24.04.1 Nov 14, 2024
postgresql-16 · Ubuntu 24.10 (oracular) 16.6-0ubuntu0.24.10.1 postgresql-16 16.6-0ubuntu0.24.10.1 Jan 16, 2026
postgresql-17 · Debian 13.5 (trixie) 17.1-1 DEBIAN-CVE-2024-10977 Nov 14, 2024
postgresql-client-12 · Ubuntu 20.04 LTS (focal) 12.22-0ubuntu0.20.04.1 postgresql-client-12 12.22-0ubuntu0.20.04.1 Nov 14, 2024
postgresql-client-14 · Ubuntu 22.04.1 LTS (jammy) 14.15-0ubuntu0.22.04.1 postgresql-client-14 14.15-0ubuntu0.22.04.1 Nov 14, 2024
postgresql-client-16 · Ubuntu 24.04.5 LTS (noble) 16.6-0ubuntu0.24.04.1 postgresql-client-16 16.6-0ubuntu0.24.04.1 Nov 14, 2024
postgresql-client-16 · Ubuntu 24.10 (oracular) 16.6-0ubuntu0.24.10.1 postgresql-client-16 16.6-0ubuntu0.24.10.1 Jan 16, 2026
postgresql-doc-12 · Ubuntu 20.04 LTS (focal) 12.22-0ubuntu0.20.04.1 postgresql-doc-12 12.22-0ubuntu0.20.04.1 Nov 14, 2024
postgresql-doc-14 · Ubuntu 22.04.1 LTS (jammy) 14.15-0ubuntu0.22.04.1 postgresql-doc-14 14.15-0ubuntu0.22.04.1 Nov 14, 2024
postgresql-doc-16 · Ubuntu 24.04.5 LTS (noble) 16.6-0ubuntu0.24.04.1 postgresql-doc-16 16.6-0ubuntu0.24.04.1 Nov 14, 2024
postgresql-plperl-12 · Ubuntu 20.04 LTS (focal) 12.22-0ubuntu0.20.04.1 postgresql-plperl-12 12.22-0ubuntu0.20.04.1 Nov 14, 2024
postgresql-plperl-14 · Ubuntu 22.04.1 LTS (jammy) 14.15-0ubuntu0.22.04.1 postgresql-plperl-14 14.15-0ubuntu0.22.04.1 Nov 14, 2024
postgresql-plperl-16 · Ubuntu 24.04.5 LTS (noble) 16.6-0ubuntu0.24.04.1 postgresql-plperl-16 16.6-0ubuntu0.24.04.1 Nov 14, 2024
postgresql-plperl-16 · Ubuntu 24.10 (oracular) 16.6-0ubuntu0.24.10.1 postgresql-plperl-16 16.6-0ubuntu0.24.10.1 Jan 16, 2026
postgresql-plpython3-12 · Ubuntu 20.04 LTS (focal) 12.22-0ubuntu0.20.04.1 postgresql-plpython3-12 12.22-0ubuntu0.20.04.1 Nov 14, 2024
postgresql-plpython3-14 · Ubuntu 22.04.1 LTS (jammy) 14.15-0ubuntu0.22.04.1 postgresql-plpython3-14 14.15-0ubuntu0.22.04.1 Nov 14, 2024
postgresql-plpython3-16 · Ubuntu 24.04.5 LTS (noble) 16.6-0ubuntu0.24.04.1 postgresql-plpython3-16 16.6-0ubuntu0.24.04.1 Nov 14, 2024
postgresql-plpython3-16 · Ubuntu 24.10 (oracular) 16.6-0ubuntu0.24.10.1 postgresql-plpython3-16 16.6-0ubuntu0.24.10.1 Jan 16, 2026
postgresql-pltcl-12 · Ubuntu 20.04 LTS (focal) 12.22-0ubuntu0.20.04.1 postgresql-pltcl-12 12.22-0ubuntu0.20.04.1 Nov 14, 2024
postgresql-pltcl-14 · Ubuntu 22.04.1 LTS (jammy) 14.15-0ubuntu0.22.04.1 postgresql-pltcl-14 14.15-0ubuntu0.22.04.1 Nov 14, 2024
postgresql-pltcl-16 · Ubuntu 24.04.5 LTS (noble) 16.6-0ubuntu0.24.04.1 postgresql-pltcl-16 16.6-0ubuntu0.24.04.1 Nov 14, 2024
postgresql-pltcl-16 · Ubuntu 24.10 (oracular) 16.6-0ubuntu0.24.10.1 postgresql-pltcl-16 16.6-0ubuntu0.24.10.1 Jan 16, 2026
postgresql-server-dev-12 · Ubuntu 20.04 LTS (focal) 12.22-0ubuntu0.20.04.1 postgresql-server-dev-12 12.22-0ubuntu0.20.04.1 Nov 14, 2024
postgresql-server-dev-14 · Ubuntu 22.04.1 LTS (jammy) 14.15-0ubuntu0.22.04.1 postgresql-server-dev-14 14.15-0ubuntu0.22.04.1 Nov 14, 2024
postgresql-server-dev-16 · Ubuntu 24.04.5 LTS (noble) 16.6-0ubuntu0.24.04.1 postgresql-server-dev-16 16.6-0ubuntu0.24.04.1 Nov 14, 2024
postgresql12 · opensuse-leap 15.6 12.22-150200.8.66.1 SUSE-SU-2024:4099-1 Nov 28, 2024
postgresql13 · opensuse-leap 15.6 13.18-150200.5.64.1 SUSE-SU-2024:4175-1 Dec 4, 2024
postgresql14 · opensuse-leap 15.6 14.15-150600.16.9.1 SUSE-SU-2024:4118-1 Nov 29, 2024
postgresql14 · sles 15.6 14.15-150600.16.9.1 SUSE-SU-2024:4118-1 Nov 29, 2024
postgresql15 · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15 · opensuse-leap 15.6 15.10-150600.16.9.1 SUSE-SU-2024:4098-1 Nov 28, 2024
postgresql15 · sles 15.6 15.10-150600.16.9.1 SUSE-SU-2024:4098-1 Nov 28, 2024
postgresql15-contrib · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-contrib-debuginfo · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-debuginfo · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-debugsource · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-docs · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-docs-debuginfo · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-llvmjit · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-llvmjit-debuginfo · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-plperl · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-plperl-debuginfo · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-plpython3 · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-plpython3-debuginfo · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-pltcl · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-pltcl-debuginfo · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-private-devel · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-private-libs · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-private-libs-debuginfo · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-server · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-server-debuginfo · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-server-devel · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-server-devel-debuginfo · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-static · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-test · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-test-debuginfo · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-test-rpm-macros · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-upgrade · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-upgrade-debuginfo · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-upgrade-devel · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql15-upgrade-devel-debuginfo · amzn 2023 15.9-1.amzn2023.0.1 ALAS2023-2024-787 Dec 5, 2024
postgresql16 · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16 · opensuse-leap 15.6 16.6-150600.16.10.1 SUSE-SU-2024:4063-1 Nov 26, 2024
postgresql16 · sles 15.6 16.6-150600.16.10.1 SUSE-SU-2024:4063-1 Nov 26, 2024
postgresql16-contrib · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-contrib-debuginfo · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-debuginfo · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-debugsource · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-docs · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-docs-debuginfo · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-llvmjit · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-llvmjit-debuginfo · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-plperl · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-plperl-debuginfo · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-plpython3 · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-plpython3-debuginfo · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-pltcl · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-pltcl-debuginfo · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-private-devel · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-private-libs · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-private-libs-debuginfo · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-server · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-server-debuginfo · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-server-devel · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-server-devel-debuginfo · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-static · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-test · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-test-debuginfo · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-test-rpm-macros · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-upgrade · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-upgrade-debuginfo · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-upgrade-devel · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql16-upgrade-devel-debuginfo · amzn 2023 16.5-1.amzn2023.0.1 ALAS2023-2024-786 Dec 5, 2024
postgresql17 · opensuse-leap 15.6 17.2-150600.13.5.1 SUSE-SU-2024:4063-1 Nov 26, 2024
postgresql17 · sles 15.6 17.2-150600.13.5.1 SUSE-SU-2024:4063-1 Nov 26, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.