CVE-2018-10936

NameCVE-2018-10936
DescriptionA weakness was found in postgresql-jdbc before version 42.2.5. It was possible to provide an SSL Factory and not check the host name if a host name verifier was not provided to the driver. This could lead to a condition where a man-in-the-middle attacker could masquerade as a trusted server by providing a certificate for the wrong host, as long as it was signed by a trusted CA.
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
libpgjava (PTS)jessie9.2-1002-1vulnerable
stretch (security), stretch (lts), stretch9.4.1212-1+deb9u1vulnerable
buster (security), buster, buster (lts)42.2.5-2+deb10u4fixed
bullseye (security), bullseye42.2.15-1+deb11u1fixed
bookworm42.5.4-1fixed
sid, trixie42.7.3-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libpgjavasourcewheezy(unfixed)end-of-life
libpgjavasource(unstable)42.2.5-1

Notes

[stretch] - libpgjava <no-dsa> (Minor issue)
[jessie] - libpgjava <no-dsa> (Minor issue)
https://github.com/pgjdbc/pgjdbc/commit/cdeeaca47dc3bc6f727c79a582c9e412309

Search for package or bug name: Reporting problems