Vulnerability · Published Mar 3, 2023 · Assigned by redhat

CVE-2022-41862

Low 3.7

In plain English

A low-severity information exposure in postgresql. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.6%top 50.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8libpq13.11-1.el8.alma.1ALSA-2023:7016
AlmaLinux:9libpq13.11-1.el9ALSA-2023:6429
AlmaLinux:8libpq-devel13.11-1.el8.alma.1ALSA-2023:7016
AlmaLinux:9libpq-devel13.11-1.el9ALSA-2023:6429
AlmaLinux:8pg_repack1.4.6-3.module_el8.6.0+2758+4f4474dfALSA-2023:4535
AlmaLinux:8pg_repack1.4.6-3.module_el8.6.0+2760+1746ec94ALSA-2023:1576
AlmaLinux:8pg_repack1.4.6-3.module_el8.6.0+3094+eb237fb8ALSA-2023:4535
AlmaLinux:8pg_repack1.4.6-3.module_el8.6.0+3095+ee60d910ALSA-2023:1576
AlmaLinux:8pgaudit1.4.0-5.module_el8.6.0+3094+eb237fb8ALSA-2023:4535
AlmaLinux:8pgaudit1.5.0-1.module_el8.6.0+2760+1746ec94ALSA-2023:1576
AlmaLinux:8pgaudit1.5.0-1.module_el8.6.0+3095+ee60d910ALSA-2023:1576
AlmaLinux:8pgaudit1.4.0-5.module_el8.6.0+2758+4f4474dfALSA-2023:4535
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2758+4f4474dfALSA-2023:4535
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+3094+eb237fb8ALSA-2023:4535
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+3095+ee60d910ALSA-2023:1576
AlmaLinux:8postgres-decoderbufs0.10.0-2.module_el8.6.0+2760+1746ec94ALSA-2023:1576
AlmaLinux:8postgresql13.10-1.module_el8.7.0+3498+cb1ef3c6ALSA-2023:1576
AlmaLinux:8postgresql12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:9postgresql13.10-1.el9_1ALSA-2023:1693
AlmaLinux:8postgresql-contrib12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-contrib13.10-1.module_el8.7.0+3498+cb1ef3c6ALSA-2023:1576
AlmaLinux:9postgresql-contrib13.10-1.el9_1ALSA-2023:1693
AlmaLinux:8postgresql-docs13.10-1.module_el8.7.0+3498+cb1ef3c6ALSA-2023:1576
AlmaLinux:8postgresql-docs12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:9postgresql-docs13.10-1.el9_1ALSA-2023:1693
AlmaLinux:8postgresql-plperl13.10-1.module_el8.7.0+3498+cb1ef3c6ALSA-2023:1576
AlmaLinux:8postgresql-plperl12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:9postgresql-plperl13.10-1.el9_1ALSA-2023:1693
AlmaLinux:8postgresql-plpython313.10-1.module_el8.7.0+3498+cb1ef3c6ALSA-2023:1576
AlmaLinux:8postgresql-plpython312.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:9postgresql-plpython313.10-1.el9_1ALSA-2023:1693
AlmaLinux:8postgresql-pltcl13.10-1.module_el8.7.0+3498+cb1ef3c6ALSA-2023:1576
AlmaLinux:8postgresql-pltcl12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:9postgresql-pltcl13.10-1.el9_1ALSA-2023:1693
AlmaLinux:9postgresql-private-devel13.10-1.el9_1ALSA-2023:1693
AlmaLinux:9postgresql-private-libs13.10-1.el9_1ALSA-2023:1693
AlmaLinux:8postgresql-server12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-server13.10-1.module_el8.7.0+3498+cb1ef3c6ALSA-2023:1576
AlmaLinux:9postgresql-server13.10-1.el9_1ALSA-2023:1693
AlmaLinux:8postgresql-server-devel13.10-1.module_el8.7.0+3498+cb1ef3c6ALSA-2023:1576
AlmaLinux:8postgresql-server-devel12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:9postgresql-server-devel13.10-1.el9_1ALSA-2023:1693
AlmaLinux:8postgresql-static13.10-1.module_el8.7.0+3498+cb1ef3c6ALSA-2023:1576
AlmaLinux:8postgresql-static12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:9postgresql-static13.10-1.el9_1ALSA-2023:1693
AlmaLinux:8postgresql-test12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-test13.10-1.module_el8.7.0+3498+cb1ef3c6ALSA-2023:1576
AlmaLinux:9postgresql-test13.10-1.el9_1ALSA-2023:1693
AlmaLinux:8postgresql-test-rpm-macros12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-test-rpm-macros13.10-1.module_el8.7.0+3498+cb1ef3c6ALSA-2023:1576
AlmaLinux:8postgresql-upgrade13.10-1.module_el8.7.0+3498+cb1ef3c6ALSA-2023:1576
AlmaLinux:8postgresql-upgrade12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:9postgresql-upgrade13.10-1.el9_1ALSA-2023:1693
AlmaLinux:8postgresql-upgrade-devel12.15-1.module_el8.8.0+3600+38330172ALSA-2023:4535
AlmaLinux:8postgresql-upgrade-devel13.10-1.module_el8.7.0+3498+cb1ef3c6ALSA-2023:1576
AlmaLinux:9postgresql-upgrade-devel13.10-1.el9_1ALSA-2023:1693
Alpine:v3.20postgresql1414.7-r0ALPINE-CVE-2022-41862
Alpine:v3.20postgresql1515.2-r0ALPINE-CVE-2022-41862
Alpine:v3.21postgresql1515.2-r0ALPINE-CVE-2022-41862
Alpine:v3.22postgresql1515.2-r0ALPINE-CVE-2022-41862
Debian:12postgresql-1515.2-1DEBIAN-CVE-2022-41862
Rocky Linux:8libpq0:13.11-1.el8RLSA-2023:7016
Rocky Linux:8pg_repack0:1.4.6-3.module+el8.5.0+684+c3892ef9RLSA-2023:4535
Rocky Linux:8pg_repack0:1.4.6-3.module+el8.5.0+684+c3892ef9RLSA-2023:1576
Rocky Linux:8pgaudit0:1.5.0-1.module+el8.5.0+684+c3892ef9RLSA-2023:1576
Rocky Linux:8pgaudit0:1.4.0-5.module+el8.5.0+686+20453eccRLSA-2023:4535
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.5.0+684+c3892ef9RLSA-2023:4535
Rocky Linux:8postgres-decoderbufs0:0.10.0-2.module+el8.5.0+684+c3892ef9RLSA-2023:1576
Rocky Linux:8postgresql0:12.15-1.module+el8.8.0+1441+a10239d2RLSA-2023:4535
Rocky Linux:8postgresql0:13.10-1.module+el8.7.0+1175+026203e7RLSA-2023:1576
Ubuntu:22.04:LTSpostgresql-1414.7-0ubuntu0.22.04.1USN-5906-1
Ubuntu:22.04:LTSpostgresql-1414.7-0ubuntu0.22.04.1UBUNTU-CVE-2022-41862

Affected products (as reported)

VendorProductVersions
n/a postgresql postgresql 5.2, postgresql 14.7, postgresql 13.10, postgresql 12.14, postgresql 11.19

Weakness: CWE-200 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

References