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-11 (PTS) | buster, buster (lts) | 11.22-0+deb10u3 | fixed |
| buster (security) | 11.22-0+deb10u2 | fixed |
postgresql-13 (PTS) | bullseye | 13.16-0+deb11u1 | fixed |
| bullseye (security) | 13.18-0+deb11u1 | fixed |
postgresql-15 (PTS) | bookworm | 15.8-0+deb12u1 | fixed |
| bookworm (security) | 15.10-0+deb12u1 | fixed |
postgresql-9.4 (PTS) | jessie, jessie (lts) | 9.4.26-0+deb8u10 | fixed |
postgresql-9.6 (PTS) | stretch (security) | 9.6.24-0+deb9u1 | fixed |
| stretch (lts), stretch | 9.6.24-0+deb9u7 | 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)
- postgresql-9.4 <not-affected> (Vulnerable code introduced in v12)
- postgresql-9.6 <not-affected> (Vulnerable code introduced in v12)