Name | CVE-2022-41862 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
postgresql-13 (PTS) | bullseye | 13.16-0+deb11u1 | fixed |
| bullseye (security) | 13.18-0+deb11u1 | fixed |
postgresql-15 (PTS) | bookworm, bookworm (security) | 15.10-0+deb12u1 | fixed |
The information below is based on the following data on fixed versions.
Notes
- postgresql-11 <not-affected> (Vulnerable code introduced later)
https://www.postgresql.org/about/news/postgresql-152-147-1310-1214-and-1119-released-2592/
Fixed in 15.2, 14.7, 13.10, 12.14
https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=3f7342671341a7a137f2d8b06ab3461cdb0e1d88 (REL_12_14)
GSSAPI encryption support introduced in https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=b0b39f72b9904bcb80f97b35837ccff1578aa4b8 (REL_12_BETA1)