Description
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.
Remediation
References
https://www.postgresql.org/about/news/1883/
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
Related Vulnerabilities
CVE-2022-24728 Vulnerability in maven package org.webjars.bowergithub.ckeditor:ckeditor4
CVE-2021-41182 Vulnerability in maven package org.webjars.bowergithub.jquery:jquery-ui
CVE-2023-31206 Vulnerability in maven package org.apache.inlong:manager-service
CVE-2022-25869 Vulnerability in maven package org.webjars.bower:angular
CVE-2017-7561 Vulnerability in maven package org.jboss.resteasy:resteasy-jaxrs