First published: Mon Jan 30 2023(Updated: )
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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/postgresql | <5.2 | 5.2 |
redhat/postgresql | <14.7 | 14.7 |
redhat/postgresql | <13.10 | 13.10 |
redhat/postgresql | <12.14 | 12.14 |
redhat/postgresql | <11.19 | 11.19 |
IBM Cloud Pak for Business Automation | <=V23.0.1 - V23.0.1-IF001 | |
IBM Cloud Pak for Business Automation | <=V21.0.3 - V21.0.3-IF023 | |
IBM Cloud Pak for Business Automation | <=V22.0.2 - V22.0.2-IF006 and later fixes V22.0.1 - V22.0.1-IF006 and later fixes V21.0.2 - V21.0.2-IF012 and later fixes V21.0.1 - V21.0.1-IF007 and later fixes V20.0.1 - V20.0.3 and later fixes V19.0.1 - V19.0.3 and later fixes V18.0.0 - V18.0.2 and later fixes | |
PostgreSQL PostgreSQL | >=12.0<12.14 | |
PostgreSQL PostgreSQL | >=13.0<13.10 | |
PostgreSQL PostgreSQL | >=14.0<14.7 | |
PostgreSQL PostgreSQL | >=15.0<15.2 | |
Fedoraproject Fedora | =8 | |
Redhat Integration Camel K | ||
Redhat Integration Camel Quarkus | ||
Redhat Integration Service Registry | ||
Redhat Enterprise Linux | =8.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-41862 is a vulnerability in PostgreSQL that allows a modified, unauthenticated server to send an unterminated string during the establishment of Kerberos transport encryption.
CVE-2022-41862 affects certain versions of PostgreSQL (up to and excluding version 15.2) where a server can cause a libpq client to over-read and report an error message containing uninitialized bytes.
CVE-2022-41862 has a low severity rating with a score of 3.7.
PostgreSQL versions 5.2 up to and excluding 15.2, 8.0 Fedora, Redhat Integration Camel K, Redhat Integration Camel Quarkus, Redhat Integration Service Registry, and Redhat Enterprise Linux 8.0 are affected by CVE-2022-41862.
To fix CVE-2022-41862, users should update their PostgreSQL installations to versions 15.2, 14.7, 13.10, 12.14, or 11.19 depending on the affected version.