Improper Validation of Certificate with Host Mismatch Affecting libpgjava package, versions <42.2.5-1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIANUNSTABLE-LIBPGJAVA-261338
- published 25 Sep 2018
- disclosed 30 Aug 2018
Introduced: 30 Aug 2018
CVE-2018-10936 Open this link in a new tabHow to fix?
Upgrade Debian:unstable libpgjava to version 42.2.5-1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libpgjava package and not the libpgjava package as distributed by Debian.
See How to fix? for Debian:unstable relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2018-10936
- https://www.postgresql.org/about/news/1883/
- https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe@%3Ccommits.druid.apache.org%3E
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10936
- http://www.securityfocus.com/bid/105220
- https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe%40%3Ccommits.druid.apache.org%3E