Bug 1894423 (CVE-2020-25694) - CVE-2020-25694 postgresql: Reconnection can downgrade connection security settings
Summary: CVE-2020-25694 postgresql: Reconnection can downgrade connection security set...
Status: NEW
Alias: CVE-2020-25694
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1896366 1897219 1897222 1897225 1897228 1897231 1897234 1898210 1898211 1898212 1898213 1898214 1898215 1898216 1898217 1898218 1898219 1898222 1898223 1898224 1898225 1898226 1898227 1898228 1898229 1898230 1898231 1898232 1898233 1896367 1898220 1898221
Blocks: 1894439
TreeView+ depends on / blocked
Reported: 2020-11-04 09:00 UTC by Michael Kaplan
Modified: 2020-11-20 14:49 UTC (History)
77 users (show)

Fixed In Version: postgresql 13.1, postgresql 12.5, postgresql 11.10, postgresql 10.15, postgresql 9.6.20, postgresql 9.5.24
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in postgresql. If a client application that creates additional database connections only reuses the basic connection parameters while dropping security-relevant parameters, an opportunity for a man-in-the-middle attack, or the ability to observe clear-text transmissions, could exist. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Michael Kaplan 2020-11-04 09:00:45 UTC
Many PostgreSQL-provided client applications have options that create
additional database connections.  Some of those applications reuse only the
basic connection parameters (e.g. host, user, port), dropping others.  If this
drops a security-relevant parameter (e.g. channel_binding, sslmode,
requirepeer, gssencmode), the attacker has an otherwise-unavailable
opportunity to complete a man-in-the-middle attack or observe cleartext
transmission.  Affected applications are clusterdb, pg_dump, pg_restore, psql,
reindexdb, and vacuumdb.  The vulnerability arises only if one invokes an
affected client application with a connection string containing a
security-relevant parameter.

Supported, Vulnerable Versions: 9.5 - 13.

Comment 1 Michael Kaplan 2020-11-04 09:00:59 UTC

Name: Peter Eisentraut

Comment 10 msiddiqu 2020-11-12 15:19:47 UTC
Created mingw-postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1897234]

Created postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1897231]

Created postgresql:10/postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1897222]

Created postgresql:11/postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1897228]

Created postgresql:12/postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1897225]

Created postgresql:9.6/postgresql tracking bugs for this issue:

Affects: fedora-all [bug 1897219]

Comment 13 Stoyan Nikolov 2020-11-17 08:06:24 UTC

In Red Hat Gluster Storage 3, PostgreSQL (embedded in rhevm-dependencies) was shipped as a part of Red Hat Gluster Storage Console that is no longer supported for use with Red Hat Gluster Storage 3.5. Red Hat Gluster Storage Web Administration is now the recommended monitoring tool for Red Hat Storage Gluster clusters.
In Red Hat Virtualization the manager appliance uses a vulnerable version of postgresql. Once a fix has been shipped for RHEL 8 the appliance can consume the fix via a regular yum update.

Comment 14 Mauro Matteo Cascella 2020-11-17 08:17:31 UTC
External References:


Note You need to log in before you can comment on or make changes to this bug.