Upstream information

CVE-2021-20229 at MITRE

Description

A flaw was found in PostgreSQL in versions before 13.2. This flaw allows a user with SELECT privilege on one column to craft a special query that returns all columns of the table. The highest threat from this vulnerability is to confidentiality.

SUSE information

Overall state of this security issue: Running

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 4
Vector AV:N/AC:L/Au:S/C:P/I:N/A:N
Access Vector Network
Access Complexity Low
Authentication Single
Confidentiality Impact Partial
Integrity Impact None
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 4.3 4.3
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Access Vector Network Network
Access Complexity Low Low
Privileges Required Low Low
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact Low Low
Integrity Impact None None
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1182039 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container suse/postgres:10.19
Container suse/postgres:12-5.1
Container suse/postgres:14-4.1
Container trento/trento-db:14.1-rev1.0.0-build2.2.1
Image SLES15-SP2-Manager-4-1-Server-BYOS-Azure
Image SLES15-SP2-Manager-4-1-Server-BYOS-EC2-HVM
Image SLES15-SP2-Manager-4-1-Server-BYOS-GCE
  • libpq5 >= 13.2-5.6.1
Container suse/postgres:13.5
  • libpq5 >= 13.2-5.6.1
  • postgresql13 >= 13.2-5.6.1
  • postgresql13-server >= 13.2-5.6.1
Image SLES15-SP3-Manager-4-2-Server-BYOS-Azure
Image SLES15-SP3-Manager-4-2-Server-BYOS-EC2-HVM
Image SLES15-SP3-Manager-4-2-Server-BYOS-GCE
  • libpq5 >= 13.2-5.6.1
  • postgresql13 >= 13.2-5.6.1
  • postgresql13-contrib >= 13.2-5.6.1
  • postgresql13-server >= 13.2-5.6.1
SUSE Linux Enterprise Desktop 15 SP2
SUSE Linux Enterprise Module for Basesystem 15 SP2
  • libpq5 >= 13.2-5.6.1
  • libpq5-32bit >= 13.2-5.6.1
  • postgresql13 >= 13.2-5.6.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP2-2021-543
SUSE Linux Enterprise Desktop 15 SP3
SUSE Linux Enterprise Module for Basesystem 15 SP3
  • libpq5 >= 13.2-5.6.1
  • postgresql13 >= 13.2-5.6.1
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP3 GA libpq5-13.2-5.6.1
SUSE Linux Enterprise High Performance Computing 15 SP2
SUSE Linux Enterprise Server 15 SP2
SUSE Linux Enterprise Server for SAP Applications 15 SP2
SUSE Linux Enterprise Storage 7
SUSE Manager Proxy 4.1
SUSE Manager Retail Branch Server 4.1
SUSE Manager Server 4.1
  • libecpg6 >= 13.2-5.6.1
  • libpq5 >= 13.2-5.6.1
  • libpq5-32bit >= 13.2-5.6.1
  • postgresql13 >= 13.2-5.6.1
  • postgresql13-contrib >= 13.2-5.6.1
  • postgresql13-devel >= 13.2-5.6.1
  • postgresql13-docs >= 13.2-5.6.1
  • postgresql13-plperl >= 13.2-5.6.1
  • postgresql13-plpython >= 13.2-5.6.1
  • postgresql13-pltcl >= 13.2-5.6.1
  • postgresql13-server >= 13.2-5.6.1
  • postgresql13-server-devel >= 13.2-5.6.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP2-2021-543
SUSE-SLE-Module-Server-Applications-15-SP2-2021-543
SUSE Linux Enterprise High Performance Computing 15 SP3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Linux Enterprise Storage 7.1
SUSE Manager Proxy 4.2
SUSE Manager Retail Branch Server 4.2
SUSE Manager Server 4.2
  • libecpg6 >= 13.2-5.6.1
  • libpq5 >= 13.2-5.6.1
  • postgresql13 >= 13.2-5.6.1
  • postgresql13-contrib >= 13.2-5.6.1
  • postgresql13-devel >= 13.2-5.6.1
  • postgresql13-docs >= 13.2-5.6.1
  • postgresql13-plperl >= 13.2-5.6.1
  • postgresql13-plpython >= 13.2-5.6.1
  • postgresql13-pltcl >= 13.2-5.6.1
  • postgresql13-server >= 13.2-5.6.1
  • postgresql13-server-devel >= 13.2-5.6.1
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP3 GA libpq5-13.2-5.6.1
SUSE Linux Enterprise Module for Server Applications 15 SP3 GA libecpg6-13.2-5.6.1
SUSE Linux Enterprise Module for Package Hub 15 SP2
  • postgresql13-test >= 13.2-5.6.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP2-2021-543
SUSE Linux Enterprise Module for Server Applications 15 SP2
  • libecpg6 >= 13.2-5.6.1
  • postgresql13-contrib >= 13.2-5.6.1
  • postgresql13-devel >= 13.2-5.6.1
  • postgresql13-docs >= 13.2-5.6.1
  • postgresql13-plperl >= 13.2-5.6.1
  • postgresql13-plpython >= 13.2-5.6.1
  • postgresql13-pltcl >= 13.2-5.6.1
  • postgresql13-server >= 13.2-5.6.1
  • postgresql13-server-devel >= 13.2-5.6.1
Patchnames:
SUSE-SLE-Module-Server-Applications-15-SP2-2021-543
SUSE Linux Enterprise Module for Server Applications 15 SP3
  • libecpg6 >= 13.2-5.6.1
  • postgresql13-contrib >= 13.2-5.6.1
  • postgresql13-devel >= 13.2-5.6.1
  • postgresql13-docs >= 13.2-5.6.1
  • postgresql13-plperl >= 13.2-5.6.1
  • postgresql13-plpython >= 13.2-5.6.1
  • postgresql13-pltcl >= 13.2-5.6.1
  • postgresql13-server >= 13.2-5.6.1
  • postgresql13-server-devel >= 13.2-5.6.1
Patchnames:
SUSE Linux Enterprise Module for Server Applications 15 SP3 GA libecpg6-13.2-5.6.1
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • libecpg6 >= 13.2-3.6.1
  • libpq5 >= 13.2-3.6.1
  • libpq5-32bit >= 13.2-3.6.1
  • postgresql13 >= 13.2-3.6.1
  • postgresql13-contrib >= 13.2-3.6.1
  • postgresql13-devel >= 13.2-3.6.1
  • postgresql13-docs >= 13.2-3.6.1
  • postgresql13-plperl >= 13.2-3.6.1
  • postgresql13-plpython >= 13.2-3.6.1
  • postgresql13-pltcl >= 13.2-3.6.1
  • postgresql13-server >= 13.2-3.6.1
  • postgresql13-server-devel >= 13.2-3.6.1
Patchnames:
SUSE-SLE-SDK-12-SP5-2021-545
SUSE-SLE-SERVER-12-SP5-2021-545
SUSE Linux Enterprise Software Development Kit 12 SP5
  • postgresql13-devel >= 13.2-3.6.1
  • postgresql13-server-devel >= 13.2-3.6.1
Patchnames:
SUSE-SLE-SDK-12-SP5-2021-545
openSUSE Leap 15.3
  • libpq5 >= 13.2-5.6.1
Patchnames:
openSUSE Leap 15.3 GA libpq5-13.2-5.6.1
openSUSE Tumbleweed
  • libecpg6 >= 13.4-1.3
  • libecpg6-32bit >= 13.4-1.3
  • libpq5 >= 13.4-1.3
  • libpq5-32bit >= 13.4-1.3
  • postgresql13 >= 13.4-1.3
  • postgresql13-contrib >= 13.4-1.3
  • postgresql13-devel >= 13.4-1.3
  • postgresql13-docs >= 13.4-1.3
  • postgresql13-llvmjit >= 13.4-1.3
  • postgresql13-plperl >= 13.4-1.3
  • postgresql13-plpython >= 13.4-1.3
  • postgresql13-pltcl >= 13.4-1.3
  • postgresql13-server >= 13.4-1.3
  • postgresql13-server-devel >= 13.4-1.3
  • postgresql13-test >= 13.4-1.3
Patchnames:
openSUSE Tumbleweed GA libecpg6-13.4-1.3


First public cloud image revisions this CVE is fixed in:


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
HPE Helion OpenStack 8 postgresql10 In progress
HPE Helion OpenStack 8 postgresql13 Released
HPE Helion OpenStack 8 postgresql96 In progress
SUSE CaaS Platform 4.0 postgresql10 Not affected
SUSE CaaS Platform 4.0 postgresql12 Not affected
SUSE Enterprise Storage 5 postgresql10 Not affected
SUSE Enterprise Storage 5 postgresql13 In progress
SUSE Enterprise Storage 5 postgresql96 Not affected
SUSE Enterprise Storage 6 postgresql10 Not affected
SUSE Enterprise Storage 6 postgresql12 Not affected
SUSE Linux Enterprise Desktop 15 SP1 postgresql10 Not affected
SUSE Linux Enterprise Desktop 15 SP1 postgresql12 Not affected
SUSE Linux Enterprise Desktop 15 SP2 postgresql10 Not affected
SUSE Linux Enterprise Desktop 15 SP2 postgresql12 Not affected
SUSE Linux Enterprise Desktop 15 SP2 postgresql13 Released
SUSE Linux Enterprise High Performance Computing 12 SP5 postgresql10 In progress
SUSE Linux Enterprise High Performance Computing 12 SP5 postgresql12 In progress
SUSE Linux Enterprise High Performance Computing 12 SP5 postgresql13 Released
SUSE Linux Enterprise High Performance Computing 15 LTSS postgresql10 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 postgresql10 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 postgresql12 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS postgresql10 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS postgresql12 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 postgresql10 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 postgresql12 Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 postgresql13 Released
SUSE Linux Enterprise High Performance Computing 15 SP4 postgresql13 Released
SUSE Linux Enterprise Module for Basesystem 15 SP1 postgresql10 Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP1 postgresql12 Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 postgresql10 Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 postgresql12 Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 postgresql13 Released
SUSE Linux Enterprise Module for Legacy 15 SP4 postgresql13 Released
SUSE Linux Enterprise Module for Server Applications 15 SP1 postgresql10 Not affected
SUSE Linux Enterprise Module for Server Applications 15 SP1 postgresql12 Not affected
SUSE Linux Enterprise Module for Server Applications 15 SP2 postgresql10 Not affected
SUSE Linux Enterprise Module for Server Applications 15 SP2 postgresql12 Not affected
SUSE Linux Enterprise Module for Server Applications 15 SP2 postgresql13 Released
SUSE Linux Enterprise Point of Service 11 SP3 postgresql91 Not affected
SUSE Linux Enterprise Point of Service 11 SP3 postgresql94 Not affected
SUSE Linux Enterprise Point of Service Image Server 12 SP2 postgresql10 Not affected
SUSE Linux Enterprise Point of Service Image Server 12 SP2 postgresql13 Released
SUSE Linux Enterprise Point of Service Image Server 12 SP2 postgresql94 Not affected
SUSE Linux Enterprise Point of Service Image Server 12 SP2 postgresql96 Not affected
SUSE Linux Enterprise Server 11 SP4 LTSS postgresql94 Not affected
SUSE Linux Enterprise Server 12 SP2 BCL postgresql10 In progress
SUSE Linux Enterprise Server 12 SP2 BCL postgresql13 Released
SUSE Linux Enterprise Server 12 SP2 BCL postgresql94 In progress
SUSE Linux Enterprise Server 12 SP2 BCL postgresql96 In progress
SUSE Linux Enterprise Server 12 SP2 ESPOS postgresql10 Not affected
SUSE Linux Enterprise Server 12 SP2 ESPOS postgresql13 Released
SUSE Linux Enterprise Server 12 SP2 ESPOS postgresql94 Not affected
SUSE Linux Enterprise Server 12 SP2 ESPOS postgresql96 Not affected
SUSE Linux Enterprise Server 12 SP2 LTSS postgresql10 Not affected
SUSE Linux Enterprise Server 12 SP2 LTSS postgresql13 Released
SUSE Linux Enterprise Server 12 SP2 LTSS postgresql94 Not affected
SUSE Linux Enterprise Server 12 SP2 LTSS postgresql96 Not affected
SUSE Linux Enterprise Server 12 SP3 BCL postgresql10 In progress
SUSE Linux Enterprise Server 12 SP3 BCL postgresql13 Released
SUSE Linux Enterprise Server 12 SP3 BCL postgresql96 In progress
SUSE Linux Enterprise Server 12 SP3 ESPOS postgresql10 In progress
SUSE Linux Enterprise Server 12 SP3 ESPOS postgresql13 Released
SUSE Linux Enterprise Server 12 SP3 ESPOS postgresql96 In progress
SUSE Linux Enterprise Server 12 SP3 LTSS postgresql10 In progress
SUSE Linux Enterprise Server 12 SP3 LTSS postgresql13 Released
SUSE Linux Enterprise Server 12 SP3 LTSS postgresql96 In progress
SUSE Linux Enterprise Server 12 SP4 ESPOS postgresql10 In progress
SUSE Linux Enterprise Server 12 SP4 ESPOS postgresql13 Released
SUSE Linux Enterprise Server 12 SP4 LTSS postgresql10 In progress
SUSE Linux Enterprise Server 12 SP4 LTSS postgresql13 Released
SUSE Linux Enterprise Server 12 SP5 postgresql10 In progress
SUSE Linux Enterprise Server 12 SP5 postgresql12 In progress
SUSE Linux Enterprise Server 12 SP5 postgresql13 Released
SUSE Linux Enterprise Server 15 ESPOS postgresql10 Not affected
SUSE Linux Enterprise Server 15 LTSS postgresql10 Not affected
SUSE Linux Enterprise Server 15 SP1 postgresql10 Not affected
SUSE Linux Enterprise Server 15 SP1 postgresql12 Not affected
SUSE Linux Enterprise Server 15 SP1 LTSS postgresql10 Not affected
SUSE Linux Enterprise Server 15 SP1 LTSS postgresql12 Not affected
SUSE Linux Enterprise Server 15 SP2 postgresql10 Not affected
SUSE Linux Enterprise Server 15 SP2 postgresql12 Not affected
SUSE Linux Enterprise Server 15 SP2 postgresql13 Released
SUSE Linux Enterprise Server 15 SP4 postgresql13 Released
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 postgresql10 Not affected
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 postgresql12 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 postgresql10 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 postgresql13 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP2 postgresql94 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 postgresql96 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 postgresql10 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP3 postgresql13 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP3 postgresql96 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP4 postgresql10 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP4 postgresql13 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 postgresql10 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP5 postgresql12 In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP5 postgresql13 Released
SUSE Linux Enterprise Server for SAP Applications 15 postgresql10 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 postgresql10 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 postgresql12 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 postgresql10 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 postgresql12 Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 postgresql13 Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 postgresql13 Released
SUSE Linux Enterprise Software Development Kit 12 SP5 postgresql13 Released
SUSE Linux Enterprise Storage 6 postgresql10 Not affected
SUSE Linux Enterprise Storage 6 postgresql12 Not affected
SUSE Linux Enterprise Storage 7 postgresql10 Not affected
SUSE Linux Enterprise Storage 7 postgresql12 Not affected
SUSE Linux Enterprise Storage 7 postgresql13 Released
SUSE Manager Proxy 4.0 postgresql10 Not affected
SUSE Manager Proxy 4.0 postgresql12 Not affected
SUSE Manager Proxy 4.1 postgresql10 Not affected
SUSE Manager Proxy 4.1 postgresql12 Not affected
SUSE Manager Proxy 4.1 postgresql13 Released
SUSE Manager Proxy 4.3 postgresql13 Released
SUSE Manager Retail Branch Server 4.0 postgresql10 Not affected
SUSE Manager Retail Branch Server 4.0 postgresql12 Not affected
SUSE Manager Retail Branch Server 4.1 postgresql10 Not affected
SUSE Manager Retail Branch Server 4.1 postgresql12 Not affected
SUSE Manager Retail Branch Server 4.1 postgresql13 Released
SUSE Manager Retail Branch Server 4.3 postgresql13 Released
SUSE Manager Server 4.0 postgresql10 Not affected
SUSE Manager Server 4.0 postgresql12 Not affected
SUSE Manager Server 4.1 postgresql10 Not affected
SUSE Manager Server 4.1 postgresql12 Not affected
SUSE Manager Server 4.1 postgresql13 Released
SUSE Manager Server 4.3 postgresql13 Released
SUSE OpenStack Cloud 7 postgresql10 Not affected
SUSE OpenStack Cloud 7 postgresql13 Released
SUSE OpenStack Cloud 7 postgresql94 Not affected
SUSE OpenStack Cloud 7 postgresql96 Not affected
SUSE OpenStack Cloud 8 postgresql10 In progress
SUSE OpenStack Cloud 8 postgresql13 Released
SUSE OpenStack Cloud 8 postgresql96 In progress
SUSE OpenStack Cloud 9 postgresql10 In progress
SUSE OpenStack Cloud 9 postgresql13 Released
SUSE OpenStack Cloud Crowbar 8 postgresql10 In progress
SUSE OpenStack Cloud Crowbar 8 postgresql13 Released
SUSE OpenStack Cloud Crowbar 8 postgresql96 In progress
SUSE OpenStack Cloud Crowbar 9 postgresql10 In progress
SUSE OpenStack Cloud Crowbar 9 postgresql13 Released
SUSE Package Hub 15 SP2 postgresql13 Released
suse/postgres:10 postgresql10Not affected
suse/postgres:12 postgresql12Not affected
suse/postgres:13 postgresql13Released