{"id":"UBUNTU-CVE-2018-10936","details":"A 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.","modified":"2025-10-24T04:47:02Z","published":"2018-08-30T13:29:00Z","upstream":["CVE-2018-10936"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-10936"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-10936"}],"affected":[{"package":{"name":"libpgjava","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libpgjava@9.2-1002-1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.2-1002-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpg-java","binary_version":"9.2-1002-1"},{"binary_name":"libpostgresql-jdbc-java","binary_version":"9.2-1002-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10936.json"}},{"package":{"name":"libpgjava","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libpgjava@9.2-1002-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.2-1002-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpg-java","binary_version":"9.2-1002-1"},{"binary_name":"libpostgresql-jdbc-java","binary_version":"9.2-1002-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10936.json"}},{"package":{"name":"libpgjava","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libpgjava@9.4.1212-1ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["9.4.1212-1","9.4.1212-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpostgresql-jdbc-java","binary_version":"9.4.1212-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10936.json"}},{"package":{"name":"libpgjava","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libpgjava@42.2.10-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["42.2.6-1","42.2.8-1","42.2.9-1","42.2.10-1","42.2.10-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpostgresql-jdbc-java","binary_version":"42.2.10-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10936.json"}},{"package":{"name":"libpgjava","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libpgjava@42.3.3-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["42.2.23-1","42.2.24-1","42.3.1-1","42.3.2-1","42.3.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpostgresql-jdbc-java","binary_version":"42.3.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-10936.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}