Lucene search

K
archlinuxArchLinuxASA-202204-1
HistoryApr 04, 2022 - 12:00 a.m.

[ASA-202204-1] postgresql: man-in-the-middle

2022-04-0400:00:00
security.archlinux.org
43

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

5.1 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:H/Au:N/C:P/I:P/A:P

0.002 Low

EPSS

Percentile

56.5%

Arch Linux Security Advisory ASA-202204-1

Severity: High
Date : 2022-04-04
CVE-ID : CVE-2021-23214
Package : postgresql
Type : man-in-the-middle
Remote : Yes
Link : https://security.archlinux.org/AVG-2546

Summary

The package postgresql before version 13.5-1 is vulnerable to man-in-
the-middle.

Resolution

Upgrade to 13.5-1.

pacman -Syu “postgresql>=13.5-1”

The problem has been fixed upstream in version 13.5.

Workaround

None.

Description

A security issue has been found in PostgreSQL versions 9.6 up to 14.
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.

Impact

A man-in-the-middle attacker is able to inject arbitrary SQL queries
when a connection is first established, despite the use of SSL
certificate verification and encryption.

References

https://www.postgresql.org/support/security/CVE-2021-23214/
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=28e24125541545483093819efae9bca603441951
https://security.archlinux.org/CVE-2021-23214

OSVersionArchitecturePackageVersionFilename
ArchLinuxanyanypostgresql< 13.5-1UNKNOWN

8.1 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

5.1 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

HIGH

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:H/Au:N/C:P/I:P/A:P

0.002 Low

EPSS

Percentile

56.5%