Upstream information

CVE-2020-14349 at MITRE

Description

It was found that PostgreSQL versions before 12.4, before 11.9 and before 10.14 did not properly sanitize the search_path during logical replication. An authenticated attacker could use this flaw in an attack similar to CVE-2018-1058, in order to execute arbitrary SQL command in the context of the user used for replication.

SUSE information

Overall state of this security issue: Running

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 4.6
Vector AV:N/AC:H/Au:S/C:P/I:P/A:P
Access Vector Network
Access Complexity High
Authentication Single
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.1 7.8
Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Access Vector Network Local
Access Complexity High Low
Privileges Required Low Low
User Interaction Required None
Scope Unchanged Unchanged
Confidentiality Impact High High
Integrity Impact High High
Availability Impact High High
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entries: 1175193 [NEW], 1176151 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise High Performance Computing 15-ESPOS
SUSE Linux Enterprise High Performance Computing 15-LTSS
  • libecpg6 >= 10.14-4.25.1
  • libpq5 >= 10.14-4.25.1
  • libpq5-32bit >= 10.14-4.25.1
  • postgresql10 >= 10.14-4.25.1
  • postgresql10-contrib >= 10.14-4.25.1
  • postgresql10-devel >= 10.14-4.25.1
  • postgresql10-docs >= 10.14-4.25.1
  • postgresql10-plperl >= 10.14-4.25.1
  • postgresql10-plpython >= 10.14-4.25.1
  • postgresql10-pltcl >= 10.14-4.25.1
  • postgresql10-server >= 10.14-4.25.1
Patchnames:
SUSE-SLE-Product-HPC-15-2020-2264
SUSE Linux Enterprise Module for Basesystem 15 SP1
  • libpq5 >= 12.4-3.11.1
  • libpq5-32bit >= 12.4-3.11.1
  • postgresql10 >= 10.14-8.19.1
  • postgresql12 >= 12.4-3.11.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP1-2020-2271
SUSE-SLE-Module-Basesystem-15-SP1-2020-2355
SUSE Linux Enterprise Module for Basesystem 15 SP2
  • libpq5 >= 12.4-8.6.1
  • libpq5-32bit >= 12.4-8.6.1
  • postgresql10 >= 10.14-8.19.1
  • postgresql12 >= 12.4-8.6.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP2-2020-2265
SUSE-SLE-Module-Basesystem-15-SP2-2020-2355
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP1
  • libecpg6-32bit >= 12.4-3.11.1
  • libpq5-32bit >= 12.4-3.11.1
  • postgresql10 >= 10.14-8.19.1
  • postgresql10-test >= 10.14-8.19.1
  • postgresql12 >= 12.4-3.11.1
  • postgresql12-test >= 12.4-3.11.1
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2020-2271
SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2020-2355
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP2
  • libecpg6-32bit >= 12.4-8.6.1
  • libpq5-32bit >= 12.4-8.6.1
  • postgresql10 >= 10.14-8.19.1
  • postgresql10-test >= 10.14-8.19.1
  • postgresql12 >= 12.4-8.6.1
  • postgresql12-test >= 12.4-8.6.1
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP2-2020-2265
SUSE-SLE-Module-Development-Tools-OBS-15-SP2-2020-2355
SUSE Linux Enterprise Module for Server Applications 15 SP1
  • libecpg6 >= 12.4-3.11.1
  • postgresql10 >= 10.14-8.19.1
  • postgresql10-contrib >= 10.14-8.19.1
  • postgresql10-devel >= 10.14-8.19.1
  • postgresql10-docs >= 10.14-8.19.1
  • postgresql10-plperl >= 10.14-8.19.1
  • postgresql10-plpython >= 10.14-8.19.1
  • postgresql10-pltcl >= 10.14-8.19.1
  • postgresql10-server >= 10.14-8.19.1
  • postgresql12 >= 12.4-3.11.1
  • postgresql12-contrib >= 12.4-3.11.1
  • postgresql12-devel >= 12.4-3.11.1
  • postgresql12-docs >= 12.4-3.11.1
  • postgresql12-plperl >= 12.4-3.11.1
  • postgresql12-plpython >= 12.4-3.11.1
  • postgresql12-pltcl >= 12.4-3.11.1
  • postgresql12-server >= 12.4-3.11.1
  • postgresql12-server-devel >= 12.4-3.11.1
Patchnames:
SUSE-SLE-Module-Server-Applications-15-SP1-2020-2271
SUSE-SLE-Module-Server-Applications-15-SP1-2020-2355
SUSE Linux Enterprise Module for Server Applications 15 SP2
  • libecpg6 >= 12.4-8.6.1
  • postgresql10 >= 10.14-8.19.1
  • postgresql10-contrib >= 10.14-8.19.1
  • postgresql10-devel >= 10.14-8.19.1
  • postgresql10-docs >= 10.14-8.19.1
  • postgresql10-plperl >= 10.14-8.19.1
  • postgresql10-plpython >= 10.14-8.19.1
  • postgresql10-pltcl >= 10.14-8.19.1
  • postgresql10-server >= 10.14-8.19.1
  • postgresql12 >= 12.4-8.6.1
  • postgresql12-contrib >= 12.4-8.6.1
  • postgresql12-devel >= 12.4-8.6.1
  • postgresql12-docs >= 12.4-8.6.1
  • postgresql12-plperl >= 12.4-8.6.1
  • postgresql12-plpython >= 12.4-8.6.1
  • postgresql12-pltcl >= 12.4-8.6.1
  • postgresql12-server >= 12.4-8.6.1
  • postgresql12-server-devel >= 12.4-8.6.1
Patchnames:
SUSE-SLE-Module-Server-Applications-15-SP2-2020-2265
SUSE-SLE-Module-Server-Applications-15-SP2-2020-2355
SUSE Linux Enterprise Server 15-LTSS
  • libecpg6 >= 10.14-4.25.1
  • libpq5 >= 10.14-4.25.1
  • libpq5-32bit >= 10.14-4.25.1
  • postgresql10 >= 10.14-4.25.1
  • postgresql10-contrib >= 10.14-4.25.1
  • postgresql10-devel >= 10.14-4.25.1
  • postgresql10-docs >= 10.14-4.25.1
  • postgresql10-plperl >= 10.14-4.25.1
  • postgresql10-plpython >= 10.14-4.25.1
  • postgresql10-pltcl >= 10.14-4.25.1
  • postgresql10-server >= 10.14-4.25.1
Patchnames:
SUSE-SLE-Product-SLES-15-2020-2264
SUSE Linux Enterprise Server for SAP Applications 15
  • libecpg6 >= 10.14-4.25.1
  • libpq5 >= 10.14-4.25.1
  • libpq5-32bit >= 10.14-4.25.1
  • postgresql10 >= 10.14-4.25.1
  • postgresql10-contrib >= 10.14-4.25.1
  • postgresql10-devel >= 10.14-4.25.1
  • postgresql10-docs >= 10.14-4.25.1
  • postgresql10-plperl >= 10.14-4.25.1
  • postgresql10-plpython >= 10.14-4.25.1
  • postgresql10-pltcl >= 10.14-4.25.1
  • postgresql10-server >= 10.14-4.25.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-2020-2264
openSUSE Leap 15.1
  • libecpg6 >= 12.4-lp151.6.1
  • libecpg6-debuginfo >= 12.4-lp151.6.1
  • libpq5 >= 12.4-lp151.6.1
  • libpq5-debuginfo >= 12.4-lp151.6.1
  • postgresql10 >= 10.14-lp151.2.18.1
  • postgresql10-contrib >= 10.14-lp151.2.18.1
  • postgresql10-contrib-debuginfo >= 10.14-lp151.2.18.1
  • postgresql10-debuginfo >= 10.14-lp151.2.18.1
  • postgresql10-debugsource >= 10.14-lp151.2.18.1
  • postgresql10-devel >= 10.14-lp151.2.18.1
  • postgresql10-devel-debuginfo >= 10.14-lp151.2.18.1
  • postgresql10-docs >= 10.14-lp151.2.18.1
  • postgresql10-plperl >= 10.14-lp151.2.18.1
  • postgresql10-plperl-debuginfo >= 10.14-lp151.2.18.1
  • postgresql10-plpython >= 10.14-lp151.2.18.1
  • postgresql10-plpython-debuginfo >= 10.14-lp151.2.18.1
  • postgresql10-pltcl >= 10.14-lp151.2.18.1
  • postgresql10-pltcl-debuginfo >= 10.14-lp151.2.18.1
  • postgresql10-server >= 10.14-lp151.2.18.1
  • postgresql10-server-debuginfo >= 10.14-lp151.2.18.1
  • postgresql10-test >= 10.14-lp151.2.18.1
  • postgresql12 >= 12.4-lp151.6.1
  • postgresql12-contrib >= 12.4-lp151.6.1
  • postgresql12-contrib-debuginfo >= 12.4-lp151.6.1
  • postgresql12-debuginfo >= 12.4-lp151.6.1
  • postgresql12-debugsource >= 12.4-lp151.6.1
  • postgresql12-devel >= 12.4-lp151.6.1
  • postgresql12-devel-debuginfo >= 12.4-lp151.6.1
  • postgresql12-docs >= 12.4-lp151.6.1
  • postgresql12-llvmjit >= 12.4-lp151.6.1
  • postgresql12-llvmjit-debuginfo >= 12.4-lp151.6.1
  • postgresql12-plperl >= 12.4-lp151.6.1
  • postgresql12-plperl-debuginfo >= 12.4-lp151.6.1
  • postgresql12-plpython >= 12.4-lp151.6.1
  • postgresql12-plpython-debuginfo >= 12.4-lp151.6.1
  • postgresql12-pltcl >= 12.4-lp151.6.1
  • postgresql12-pltcl-debuginfo >= 12.4-lp151.6.1
  • postgresql12-server >= 12.4-lp151.6.1
  • postgresql12-server-debuginfo >= 12.4-lp151.6.1
  • postgresql12-server-devel >= 12.4-lp151.6.1
  • postgresql12-server-devel-debuginfo >= 12.4-lp151.6.1
  • postgresql12-test >= 12.4-lp151.6.1
Patchnames:
openSUSE-2020-1243
openSUSE-2020-1312
openSUSE Leap 15.2
  • libecpg6 >= 12.4-lp152.3.7.1
  • libecpg6-32bit >= 12.4-lp152.3.7.1
  • libecpg6-32bit-debuginfo >= 12.4-lp152.3.7.1
  • libecpg6-debuginfo >= 12.4-lp152.3.7.1
  • libpq5 >= 12.4-lp152.3.7.1
  • libpq5-32bit >= 12.4-lp152.3.7.1
  • libpq5-32bit-debuginfo >= 12.4-lp152.3.7.1
  • libpq5-debuginfo >= 12.4-lp152.3.7.1
  • postgresql >= 12.0.1-lp152.3.3.2
  • postgresql-contrib >= 12.0.1-lp152.3.3.2
  • postgresql-devel >= 12.0.1-lp152.3.3.2
  • postgresql-docs >= 12.0.1-lp152.3.3.2
  • postgresql-llvmjit >= 12.0.1-lp152.3.3.2
  • postgresql-plperl >= 12.0.1-lp152.3.3.2
  • postgresql-plpython >= 12.0.1-lp152.3.3.2
  • postgresql-pltcl >= 12.0.1-lp152.3.3.2
  • postgresql-server >= 12.0.1-lp152.3.3.2
  • postgresql-server-devel >= 12.0.1-lp152.3.3.2
  • postgresql-test >= 12.0.1-lp152.3.3.2
  • postgresql10 >= 10.14-lp152.2.6.2
  • postgresql10-contrib >= 10.14-lp152.2.6.2
  • postgresql10-contrib-debuginfo >= 10.14-lp152.2.6.2
  • postgresql10-debuginfo >= 10.14-lp152.2.6.2
  • postgresql10-debugsource >= 10.14-lp152.2.6.2
  • postgresql10-devel >= 10.14-lp152.2.6.2
  • postgresql10-devel-debuginfo >= 10.14-lp152.2.6.2
  • postgresql10-docs >= 10.14-lp152.2.6.2
  • postgresql10-plperl >= 10.14-lp152.2.6.2
  • postgresql10-plperl-debuginfo >= 10.14-lp152.2.6.2
  • postgresql10-plpython >= 10.14-lp152.2.6.2
  • postgresql10-plpython-debuginfo >= 10.14-lp152.2.6.2
  • postgresql10-pltcl >= 10.14-lp152.2.6.2
  • postgresql10-pltcl-debuginfo >= 10.14-lp152.2.6.2
  • postgresql10-server >= 10.14-lp152.2.6.2
  • postgresql10-server-debuginfo >= 10.14-lp152.2.6.2
  • postgresql10-test >= 10.14-lp152.2.6.2
  • postgresql11 >= 11.9-lp152.3.3.1
  • postgresql11-contrib >= 11.9-lp152.3.3.1
  • postgresql11-contrib-debuginfo >= 11.9-lp152.3.3.1
  • postgresql11-debuginfo >= 11.9-lp152.3.3.1
  • postgresql11-debugsource >= 11.9-lp152.3.3.1
  • postgresql11-devel >= 11.9-lp152.3.3.1
  • postgresql11-devel-debuginfo >= 11.9-lp152.3.3.1
  • postgresql11-docs >= 11.9-lp152.3.3.1
  • postgresql11-llvmjit >= 11.9-lp152.3.3.1
  • postgresql11-llvmjit-debuginfo >= 11.9-lp152.3.3.1
  • postgresql11-plperl >= 11.9-lp152.3.3.1
  • postgresql11-plperl-debuginfo >= 11.9-lp152.3.3.1
  • postgresql11-plpython >= 11.9-lp152.3.3.1
  • postgresql11-plpython-debuginfo >= 11.9-lp152.3.3.1
  • postgresql11-pltcl >= 11.9-lp152.3.3.1
  • postgresql11-pltcl-debuginfo >= 11.9-lp152.3.3.1
  • postgresql11-server >= 11.9-lp152.3.3.1
  • postgresql11-server-debuginfo >= 11.9-lp152.3.3.1
  • postgresql11-server-devel >= 11.9-lp152.3.3.1
  • postgresql11-server-devel-debuginfo >= 11.9-lp152.3.3.1
  • postgresql11-test >= 11.9-lp152.3.3.1
  • postgresql12 >= 12.4-lp152.3.7.1
  • postgresql12-contrib >= 12.4-lp152.3.7.1
  • postgresql12-contrib-debuginfo >= 12.4-lp152.3.7.1
  • postgresql12-debuginfo >= 12.4-lp152.3.7.1
  • postgresql12-debugsource >= 12.4-lp152.3.7.1
  • postgresql12-devel >= 12.4-lp152.3.7.1
  • postgresql12-devel-debuginfo >= 12.4-lp152.3.7.1
  • postgresql12-docs >= 12.4-lp152.3.7.1
  • postgresql12-llvmjit >= 12.4-lp152.3.7.1
  • postgresql12-llvmjit-debuginfo >= 12.4-lp152.3.7.1
  • postgresql12-plperl >= 12.4-lp152.3.7.1
  • postgresql12-plperl-debuginfo >= 12.4-lp152.3.7.1
  • postgresql12-plpython >= 12.4-lp152.3.7.1
  • postgresql12-plpython-debuginfo >= 12.4-lp152.3.7.1
  • postgresql12-pltcl >= 12.4-lp152.3.7.1
  • postgresql12-pltcl-debuginfo >= 12.4-lp152.3.7.1
  • postgresql12-server >= 12.4-lp152.3.7.1
  • postgresql12-server-debuginfo >= 12.4-lp152.3.7.1
  • postgresql12-server-devel >= 12.4-lp152.3.7.1
  • postgresql12-server-devel-debuginfo >= 12.4-lp152.3.7.1
  • postgresql12-test >= 12.4-lp152.3.7.1
  • postgresql96 >= 9.6.19-lp152.2.3.1
  • postgresql96-contrib >= 9.6.19-lp152.2.3.1
  • postgresql96-contrib-debuginfo >= 9.6.19-lp152.2.3.1
  • postgresql96-debuginfo >= 9.6.19-lp152.2.3.1
  • postgresql96-debugsource >= 9.6.19-lp152.2.3.1
  • postgresql96-devel >= 9.6.19-lp152.2.3.1
  • postgresql96-devel-debuginfo >= 9.6.19-lp152.2.3.1
  • postgresql96-docs >= 9.6.19-lp152.2.3.1
  • postgresql96-plperl >= 9.6.19-lp152.2.3.1
  • postgresql96-plperl-debuginfo >= 9.6.19-lp152.2.3.1
  • postgresql96-plpython >= 9.6.19-lp152.2.3.1
  • postgresql96-plpython-debuginfo >= 9.6.19-lp152.2.3.1
  • postgresql96-pltcl >= 9.6.19-lp152.2.3.1
  • postgresql96-pltcl-debuginfo >= 9.6.19-lp152.2.3.1
  • postgresql96-server >= 9.6.19-lp152.2.3.1
  • postgresql96-server-debuginfo >= 9.6.19-lp152.2.3.1
  • postgresql96-test >= 9.6.19-lp152.2.3.1
Patchnames:
openSUSE-2020-1228
openSUSE-2020-1244
openSUSE-2020-1326


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE Linux Enterprise 15-SP1 Module for Basesystem postgresql10 Released
SUSE Linux Enterprise 15-SP1 Module for Basesystem postgresql12 Released
SUSE Linux Enterprise 15-SP1 Module for Server Applications postgresql10 Released
SUSE Linux Enterprise 15-SP1 Module for Server Applications postgresql12 Released
SUSE Linux Enterprise 15-SP2 Module for Basesystem postgresql10 Released
SUSE Linux Enterprise 15-SP2 Module for Basesystem postgresql12 Released
SUSE Linux Enterprise 15-SP2 Module for Server Applications postgresql10 Released
SUSE Linux Enterprise 15-SP2 Module for Server Applications postgresql12 Released
SUSE Linux Enterprise High Performance Computing 12 SP4 postgresql10 Affected
SUSE Linux Enterprise High Performance Computing 12 SP5 postgresql10 Affected
SUSE Linux Enterprise High Performance Computing 12 SP5 postgresql12 Affected
SUSE Linux Enterprise High Performance Computing 15 LTSS postgresql10 Released
SUSE Linux Enterprise Server 11 SP1 postgresql10 Released
SUSE Linux Enterprise Server 11 SP1 postgresql10-libs Released
SUSE Linux Enterprise Server 11 SP3 postgresql10 Released
SUSE Linux Enterprise Server 11 SP3 postgresql10-libs Released
SUSE Linux Enterprise Server 12 SP2 BCL postgresql10 Affected
SUSE Linux Enterprise Server 12 SP2 BCL postgresql12 Affected
SUSE Linux Enterprise Server 12 SP2 BCL postgresql96 Not affected
SUSE Linux Enterprise Server 12 SP2 LTSS postgresql10 Affected
SUSE Linux Enterprise Server 12 SP2 LTSS postgresql12 Affected
SUSE Linux Enterprise Server 12 SP2 LTSS postgresql96 Not affected
SUSE Linux Enterprise Server 12 SP3 BCL postgresql10 Affected
SUSE Linux Enterprise Server 12 SP3 BCL postgresql12 Affected
SUSE Linux Enterprise Server 12 SP3 BCL postgresql96 Not affected
SUSE Linux Enterprise Server 12 SP3 LTSS postgresql10 Affected
SUSE Linux Enterprise Server 12 SP3 LTSS postgresql12 Affected
SUSE Linux Enterprise Server 12 SP3 LTSS postgresql96 Not affected
SUSE Linux Enterprise Server 12 SP4 postgresql10 Affected
SUSE Linux Enterprise Server 12 SP4 LTSS postgresql10 Affected
SUSE Linux Enterprise Server 12 SP4 LTSS postgresql12 Affected
SUSE Linux Enterprise Server 12 SP5 postgresql10 Affected
SUSE Linux Enterprise Server 12 SP5 postgresql12 Affected
SUSE Linux Enterprise Server 15 LTSS postgresql10 Released
SUSE Linux Enterprise Server ESPOS 15 postgresql10 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP2 postgresql96 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 postgresql10 Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 postgresql96 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 postgresql10 Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 postgresql10 Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 postgresql12 Affected
SUSE Linux Enterprise Software Development Kit 12 SP5 postgresql10 Affected
SUSE Linux Enterprise Software Development Kit 12 SP5 postgresql12 Affected