CVE-2022-41862 Information disclosure in postgresql
A malicious server can cause libpq clients to leak uninitialized memory bytes during Kerberos authentication, potentially exposing sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-41862?
CVE-2022-41862 is a low-severity vulnerability in Fedoraproject Fedora, published on 3 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-200
Which versions are affected by CVE-2022-41862?
1 open source package ship an affected version, including postgresql. It affects 6 products.
| Package | Affected | Fixed in |
|---|---|---|
postgresql Bitnami | From 12.0.0 | 12.14.0, 13.10.0, 14.7.0, 15.2.0 |
Linux distribution packages (39)
libpq AlmaLinux:8 | All versions | 13.11-1.el8.alma.1 |
libpq-devel AlmaLinux:8 | All versions | 13.11-1.el8.alma.1 |
libpq AlmaLinux:9 | All versions | 13.11-1.el9 |
libpq-devel AlmaLinux:9 | All versions | 13.11-1.el9 |
libpq Red Hat:enterprise_linux:8::appstream | All versions | 0:13.11-1.el8 |
libpq-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:13.11-1.el8 |
libpq-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:13.11-1.el8 |
libpq-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:13.11-1.el8 |
libpq-devel-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:13.11-1.el8 |
libpq Red Hat:enterprise_linux:9::appstream | All versions | 0:13.11-1.el9 |
libpq-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:13.11-1.el9 |
libpq-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:13.11-1.el9 |
libpq-devel Red Hat:enterprise_linux:9::appstream | All versions | 0:13.11-1.el9 |
libpq-devel-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:13.11-1.el9 |
libpq Rocky Linux:8 | All versions | 0:13.11-1.el8 |
postgresql12 SUSE:Enterprise Storage 7 | All versions | 12.14-150200.8.41.1 |
postgresql13 SUSE:Enterprise Storage 7 | All versions | 13.10-150200.5.37.1 |
postgresql14 SUSE:Enterprise Storage 7 | All versions | 14.7-150200.5.23.1 |
postgresql15 SUSE:Enterprise Storage 7 | All versions | 15.2-150200.5.6.1 |
postgresql12 SUSE:Enterprise Storage 7.1 | All versions | 12.14-150200.8.41.1 |
postgresql13 SUSE:Enterprise Storage 7.1 | All versions | 13.10-150200.5.37.1 |
postgresql14 SUSE:Enterprise Storage 7.1 | All versions | 14.7-150200.5.23.1 |
postgresql15 SUSE:Enterprise Storage 7.1 | All versions | 15.2-150200.5.6.1 |
postgresql12 SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS | All versions | 12.14-150100.3.37.1 |
postgresql12 SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 12.14-150200.8.41.1 |
postgresql13 SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 13.10-150200.5.37.1 |
postgresql14 SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 14.7-150200.5.23.1 |
postgresql15 SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 15.2-150200.5.6.1 |
postgresql12 SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 12.14-150200.8.41.1 |
postgresql13 SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 13.10-150200.5.37.1 |
postgresql14 SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 14.7-150200.5.23.1 |
postgresql15 SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS | All versions | 15.2-150200.5.6.1 |
postgresql12 SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 12.14-150200.8.41.1 |
postgresql13 SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 13.10-150200.5.37.1 |
postgresql14 SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 14.7-150200.5.23.1 |
postgresql15 SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 15.2-150200.5.6.1 |
postgresql14 SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 14.7-150200.5.23.1 |
postgresql15 SUSE:Linux Enterprise Module for Basesystem 15 SP4 | All versions | 15.2-150200.5.6.1 |
postgresql13 SUSE:Linux Enterprise Module for Legacy 15 SP4 | All versions | 13.10-150200.5.37.1 |
Products include Fedoraproject Fedora, Postgresql Postgresql, Redhat Enterprise Linux, Redhat Integration Camel K, Redhat Integration Camel Quarkus, Redhat Integration Service Registry.
How do I fix CVE-2022-41862?
Upgrade postgresql to a fixed version for your release line: 12.14.0, 13.10.0, 14.7.0 or 15.2.0.
Is CVE-2022-41862 being exploited?
There is no known exploitation of CVE-2022-41862 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2022-41862, ALSA-2023:6429, ALSA-2023:7016, BIT-postgresql-2022-41862, CLEANSTART-2026-NR73555, CLSA-2026-1785316580 and 23 more.