Security update for postgresql, postgresql13

Announcement ID: SUSE-SU-2021:0175-1
Rating: moderate
References:
Cross-References:
CVSS scores:
  • CVE-2020-25694 ( SUSE ): 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • CVE-2020-25694 ( NVD ): 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVE-2020-25695 ( SUSE ): 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE-2020-25695 ( NVD ): 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE-2020-25696 ( SUSE ): 8.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
  • CVE-2020-25696 ( NVD ): 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected Products:
  • Basesystem Module 15-SP2
  • Server Applications Module 15-SP2
  • SUSE Linux Enterprise Desktop 15 SP2
  • SUSE Linux Enterprise High Performance Computing 15 SP2
  • SUSE Linux Enterprise Real Time 15 SP2
  • SUSE Linux Enterprise Server 15 SP2
  • SUSE Linux Enterprise Server 15 SP2 Business Critical Linux 15-SP2
  • SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • SUSE Manager Proxy 4.1
  • SUSE Manager Retail Branch Server 4.1
  • SUSE Manager Server 4.1
  • SUSE Package Hub 15 15-SP2

An update that solves three vulnerabilities, contains one feature and has one security fix can now be installed.

Description:

This update for postgresql, postgresql13 fixes the following issues:

This update ships postgresql13.

Upgrade to version 13.1:

  • CVE-2020-25695, bsc#1178666: Block DECLARE CURSOR ... WITH HOLD and firing of deferred triggers within index expressions and materialized view queries.
  • CVE-2020-25694, bsc#1178667: a) Fix usage of complex connection-string parameters in pg_dump, pg_restore, clusterdb, reindexdb, and vacuumdb. b) When psql's \connect command re-uses connection parameters, ensure that all non-overridden parameters from a previous connection string are re-used.
  • CVE-2020-25696, bsc#1178668: Prevent psql's \gset command from modifying specially-treated variables.
  • Fix recently-added timetz test case so it works when the USA is not observing daylight savings time. (obsoletes postgresql-timetz.patch)
  • https://www.postgresql.org/about/news/2111/
  • https://www.postgresql.org/docs/13/release-13-1.html

Initial packaging of PostgreSQL 13:

  • https://www.postgresql.org/about/news/2077/
  • https://www.postgresql.org/docs/13/release-13.html

  • bsc#1178961: %ghost the symlinks to pg_config and ecpg.

Changes in postgresql wrapper package:

  • Bump major version to 13.
  • We also transfer PostgreSQL 9.4.26 to the new package layout in SLE12-SP2 and newer. Reflect this in the conflict with postgresql94.
  • Also conflict with PostgreSQL versions before 9.
  • Conflicting with older versions is not limited to SLE.

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • Basesystem Module 15-SP2
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP2-2021-175=1
  • SUSE Package Hub 15 15-SP2
    zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP2-2021-175=1
  • Server Applications Module 15-SP2
    zypper in -t patch SUSE-SLE-Module-Server-Applications-15-SP2-2021-175=1

Package List:

  • Basesystem Module 15-SP2 (aarch64 ppc64le s390x x86_64)
    • postgresql13-debugsource-13.1-5.3.15
    • libpq5-debuginfo-13.1-5.3.15
    • postgresql13-13.1-5.3.15
    • libpq5-13.1-5.3.15
    • postgresql13-debuginfo-13.1-5.3.15
  • Basesystem Module 15-SP2 (noarch)
    • postgresql-13-4.6.7
  • Basesystem Module 15-SP2 (x86_64)
    • libpq5-32bit-13.1-5.3.15
    • libpq5-32bit-debuginfo-13.1-5.3.15
  • SUSE Package Hub 15 15-SP2 (noarch)
    • postgresql-test-13-4.6.7
  • SUSE Package Hub 15 15-SP2 (aarch64 ppc64le s390x x86_64)
    • postgresql13-test-13.1-5.3.15
  • Server Applications Module 15-SP2 (aarch64 ppc64le s390x x86_64)
    • postgresql13-plperl-13.1-5.3.15
    • postgresql13-pltcl-debuginfo-13.1-5.3.15
    • postgresql13-debugsource-13.1-5.3.15
    • postgresql13-server-debuginfo-13.1-5.3.15
    • postgresql13-server-devel-debuginfo-13.1-5.3.15
    • postgresql13-devel-13.1-5.3.15
    • postgresql13-plperl-debuginfo-13.1-5.3.15
    • postgresql13-pltcl-13.1-5.3.15
    • postgresql13-server-13.1-5.3.15
    • postgresql13-server-devel-13.1-5.3.15
    • postgresql13-contrib-13.1-5.3.15
    • postgresql13-plpython-13.1-5.3.15
    • postgresql13-contrib-debuginfo-13.1-5.3.15
    • postgresql13-devel-debuginfo-13.1-5.3.15
    • postgresql13-plpython-debuginfo-13.1-5.3.15
    • libecpg6-13.1-5.3.15
    • postgresql13-debuginfo-13.1-5.3.15
    • libecpg6-debuginfo-13.1-5.3.15
  • Server Applications Module 15-SP2 (noarch)
    • postgresql-plperl-13-4.6.7
    • postgresql-contrib-13-4.6.7
    • postgresql-docs-13-4.6.7
    • postgresql-pltcl-13-4.6.7
    • postgresql-server-devel-13-4.6.7
    • postgresql-devel-13-4.6.7
    • postgresql-plpython-13-4.6.7
    • postgresql13-docs-13.1-5.3.15
    • postgresql-server-13-4.6.7

References: