CVE-2022-41862

NameCVE-2022-41862
DescriptionIn 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.
SourceCVE (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 PackageReleaseVersionStatus
postgresql-11 (PTS)buster, buster (lts)11.22-0+deb10u3fixed
buster (security)11.22-0+deb10u2fixed
postgresql-13 (PTS)bullseye13.16-0+deb11u1fixed
bullseye (security)13.18-0+deb11u1fixed
postgresql-15 (PTS)bookworm15.8-0+deb12u1fixed
bookworm (security)15.10-0+deb12u1fixed
postgresql-9.4 (PTS)jessie, jessie (lts)9.4.26-0+deb8u10fixed
postgresql-9.6 (PTS)stretch (security)9.6.24-0+deb9u1fixed
stretch (lts), stretch9.6.24-0+deb9u7fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
postgresql-11source(unstable)(not affected)
postgresql-13sourcebullseye13.10-0+deb11u1
postgresql-13source(unstable)(unfixed)
postgresql-15source(unstable)15.2-1
postgresql-9.4source(unstable)(not affected)
postgresql-9.6source(unstable)(not affected)

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)

Search for package or bug name: Reporting problems