SUSE update for postgresql13



Published: 2021-11-22
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2021-23214
CVE-2021-23222
CWE-ID CWE-311
Exploitation vector Local network
Public exploit N/A
Vulnerable software
Subscribe
SUSE Linux Enterprise Module for Packagehub Subpackages
Operating systems & Components / Operating system package or component

postgresql13
Operating systems & Components / Operating system package or component

postgresql13-test
Operating systems & Components / Operating system package or component

postgresql13-llvmjit-debuginfo
Operating systems & Components / Operating system package or component

postgresql13-llvmjit
Operating systems & Components / Operating system package or component

postgresql13-docs
Operating systems & Components / Operating system package or component

postgresql13-server-devel-debuginfo
Operating systems & Components / Operating system package or component

postgresql13-server-devel
Operating systems & Components / Operating system package or component

postgresql13-server-debuginfo
Operating systems & Components / Operating system package or component

postgresql13-server
Operating systems & Components / Operating system package or component

postgresql13-pltcl-debuginfo
Operating systems & Components / Operating system package or component

postgresql13-pltcl
Operating systems & Components / Operating system package or component

postgresql13-plpython-debuginfo
Operating systems & Components / Operating system package or component

postgresql13-plpython
Operating systems & Components / Operating system package or component

postgresql13-plperl-debuginfo
Operating systems & Components / Operating system package or component

postgresql13-plperl
Operating systems & Components / Operating system package or component

postgresql13-devel-debuginfo
Operating systems & Components / Operating system package or component

postgresql13-devel
Operating systems & Components / Operating system package or component

postgresql13-debugsource
Operating systems & Components / Operating system package or component

postgresql13-debuginfo
Operating systems & Components / Operating system package or component

postgresql13-contrib-debuginfo
Operating systems & Components / Operating system package or component

postgresql13-contrib
Operating systems & Components / Operating system package or component

SUSE Linux Enterprise Module for Server Applications
Operating systems & Components / Operating system

SUSE Linux Enterprise Module for Basesystem
Operating systems & Components / Operating system

Vendor SUSE

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Missing Encryption of Sensitive Data

EUVDB-ID: #VU58113

Risk: Medium

CVSSv3.1: 5.9 [CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-23214

CWE-ID: CWE-311 - Missing Encryption of Sensitive Data

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to the way PostgreSQL handles encrypted connections. When the server is configured to use trust authentication with a clientcert requirement or to use cert authentication, a man-in-the-middle attacker can inject arbitrary SQL queries when a connection is first established, despite the use of SSL certificate verification and encryption.

Mitigation

Update the affected package postgresql13 to the latest version.

Vulnerable software versions

SUSE Linux Enterprise Module for Packagehub Subpackages: 15-SP2 - 15-SP3

SUSE Linux Enterprise Module for Server Applications: 15-SP2 - 15-SP3

SUSE Linux Enterprise Module for Basesystem: 15-SP2 - 15-SP3

postgresql13: before 13.5-5.22.1

postgresql13-test: before 13.5-5.22.1

postgresql13-llvmjit-debuginfo: before 13.5-5.22.1

postgresql13-llvmjit: before 13.5-5.22.1

postgresql13-docs: before 13.5-5.22.1

postgresql13-server-devel-debuginfo: before 13.5-5.22.1

postgresql13-server-devel: before 13.5-5.22.1

postgresql13-server-debuginfo: before 13.5-5.22.1

postgresql13-server: before 13.5-5.22.1

postgresql13-pltcl-debuginfo: before 13.5-5.22.1

postgresql13-pltcl: before 13.5-5.22.1

postgresql13-plpython-debuginfo: before 13.5-5.22.1

postgresql13-plpython: before 13.5-5.22.1

postgresql13-plperl-debuginfo: before 13.5-5.22.1

postgresql13-plperl: before 13.5-5.22.1

postgresql13-devel-debuginfo: before 13.5-5.22.1

postgresql13-devel: before 13.5-5.22.1

postgresql13-debugsource: before 13.5-5.22.1

postgresql13-debuginfo: before 13.5-5.22.1

postgresql13-contrib-debuginfo: before 13.5-5.22.1

postgresql13-contrib: before 13.5-5.22.1

CPE2.3 External links

http://www.suse.com/support/update/announcement/2021/suse-su-20213762-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Missing Encryption of Sensitive Data

EUVDB-ID: #VU58114

Risk: Medium

CVSSv3.1: 5.9 [CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-23222

CWE-ID: CWE-311 - Missing Encryption of Sensitive Data

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to the way the libpq process in PostgreSQL handles encrypted connections. A man-in-the-middle attacker can inject false responses to the client's first few queries, despite the use of SSL certificate verification and encryption. The attacker can exfiltrate the client's password or other confidential data that might be transmitted early in a session.

Mitigation

Update the affected package postgresql13 to the latest version.

Vulnerable software versions

SUSE Linux Enterprise Module for Packagehub Subpackages: 15-SP2 - 15-SP3

SUSE Linux Enterprise Module for Server Applications: 15-SP2 - 15-SP3

SUSE Linux Enterprise Module for Basesystem: 15-SP2 - 15-SP3

postgresql13: before 13.5-5.22.1

postgresql13-test: before 13.5-5.22.1

postgresql13-llvmjit-debuginfo: before 13.5-5.22.1

postgresql13-llvmjit: before 13.5-5.22.1

postgresql13-docs: before 13.5-5.22.1

postgresql13-server-devel-debuginfo: before 13.5-5.22.1

postgresql13-server-devel: before 13.5-5.22.1

postgresql13-server-debuginfo: before 13.5-5.22.1

postgresql13-server: before 13.5-5.22.1

postgresql13-pltcl-debuginfo: before 13.5-5.22.1

postgresql13-pltcl: before 13.5-5.22.1

postgresql13-plpython-debuginfo: before 13.5-5.22.1

postgresql13-plpython: before 13.5-5.22.1

postgresql13-plperl-debuginfo: before 13.5-5.22.1

postgresql13-plperl: before 13.5-5.22.1

postgresql13-devel-debuginfo: before 13.5-5.22.1

postgresql13-devel: before 13.5-5.22.1

postgresql13-debugsource: before 13.5-5.22.1

postgresql13-debuginfo: before 13.5-5.22.1

postgresql13-contrib-debuginfo: before 13.5-5.22.1

postgresql13-contrib: before 13.5-5.22.1

CPE2.3 External links

http://www.suse.com/support/update/announcement/2021/suse-su-20213762-1/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###