Bug 2165722 (CVE-2022-41862) - CVE-2022-41862 postgresql: Client memory disclosure when connecting with Kerberos to modified server
Summary: CVE-2022-41862 postgresql: Client memory disclosure when connecting with Kerb...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-41862
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2165882 2165883 2165884 2170071 2171365 2171366 2171367 2171368 2171369 2171370 2173998 2174356 2225251 2249521
Blocks: 2165723 2165725
TreeView+ depends on / blocked
 
Reported: 2023-01-30 20:54 UTC by Pedro Sampaio
Modified: 2023-12-13 14:34 UTC (History)
62 users (show)

Fixed In Version: postgresql 5.2, postgresql 14.7, postgresql 13.10, postgresql 12.14, postgresql 11.19
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found In PostgreSQL. A modified, unauthenticated server can send an unterminated string during the establishment of Kerberos transport encryption. In certain conditions, a server can cause a libpq client to over-read and report an error message containing uninitialized bytes.
Clone Of:
Environment:
Last Closed: 2023-04-11 19:36:02 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2023:7779 0 None None None 2023-12-13 14:34:39 UTC
Red Hat Product Errata RHSA-2023:1576 0 None None None 2023-04-04 09:47:00 UTC
Red Hat Product Errata RHSA-2023:1693 0 None None None 2023-04-11 14:24:21 UTC
Red Hat Product Errata RHSA-2023:4535 0 None None None 2023-08-08 08:37:53 UTC
Red Hat Product Errata RHSA-2023:6429 0 None None None 2023-11-07 08:16:29 UTC
Red Hat Product Errata RHSA-2023:7016 0 None None None 2023-11-14 15:18:36 UTC
Red Hat Product Errata RHSA-2023:7545 0 None None None 2023-11-28 15:08:21 UTC
Red Hat Product Errata RHSA-2023:7580 0 None None None 2023-11-29 14:10:12 UTC
Red Hat Product Errata RHSA-2023:7666 0 None None None 2023-12-06 09:48:13 UTC
Red Hat Product Errata RHSA-2023:7667 0 None None None 2023-12-06 09:47:17 UTC
Red Hat Product Errata RHSA-2023:7694 0 None None None 2023-12-07 08:20:27 UTC
Red Hat Product Errata RHSA-2023:7695 0 None None None 2023-12-07 08:20:51 UTC
Red Hat Product Errata RHSA-2023:7772 0 None None None 2023-12-13 08:02:45 UTC

Description Pedro Sampaio 2023-01-30 20:54:18 UTC
A modified, unauthenticated server can send an unterminated string during the
establishment of Kerberos transport encryption. When a libpq client
application has a Kerberos credential cache and doesn't explicitly disable
option "gssencmode", a server can cause libpq to over-read and report an error
message containing uninitialized bytes from and following its receive buffer.
If libpq's caller somehow makes that message accessible to the attacker, this
achieves a disclosure of the over-read bytes. We have not confirmed or ruled
out viability of attacks that arrange for a crash or for presence of notable,
confidential information in disclosed bytes.

Comment 4 Dhananjay Arunesh 2023-02-15 15:07:04 UTC
Created postgresql-jdbc tracking bugs for this issue:

Affects: fedora-all [bug 2170071]

Comment 8 errata-xmlrpc 2023-04-04 09:46:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:1576 https://access.redhat.com/errata/RHSA-2023:1576

Comment 9 errata-xmlrpc 2023-04-11 14:24:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:1693 https://access.redhat.com/errata/RHSA-2023:1693

Comment 10 Product Security DevOps Team 2023-04-11 19:35:58 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-41862

Comment 13 errata-xmlrpc 2023-08-08 08:37:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:4535 https://access.redhat.com/errata/RHSA-2023:4535

Comment 14 errata-xmlrpc 2023-11-07 08:16:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:6429 https://access.redhat.com/errata/RHSA-2023:6429

Comment 20 errata-xmlrpc 2023-11-14 15:18:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:7016 https://access.redhat.com/errata/RHSA-2023:7016

Comment 21 errata-xmlrpc 2023-11-28 15:08:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

Via RHSA-2023:7545 https://access.redhat.com/errata/RHSA-2023:7545

Comment 22 errata-xmlrpc 2023-11-29 14:10:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2023:7580 https://access.redhat.com/errata/RHSA-2023:7580

Comment 25 errata-xmlrpc 2023-12-06 09:47:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support
  Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.2 Telecommunications Update Service

Via RHSA-2023:7667 https://access.redhat.com/errata/RHSA-2023:7667

Comment 26 errata-xmlrpc 2023-12-06 09:48:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2023:7666 https://access.redhat.com/errata/RHSA-2023:7666

Comment 27 errata-xmlrpc 2023-12-07 08:20:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service

Via RHSA-2023:7694 https://access.redhat.com/errata/RHSA-2023:7694

Comment 28 errata-xmlrpc 2023-12-07 08:20:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service

Via RHSA-2023:7695 https://access.redhat.com/errata/RHSA-2023:7695

Comment 29 errata-xmlrpc 2023-12-13 08:02:40 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7

Via RHSA-2023:7772 https://access.redhat.com/errata/RHSA-2023:7772


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