Lucene search

K
redhatcveRedhat.comRH:CVE-2018-10936
HistoryAug 30, 2018 - 1:49 a.m.

CVE-2018-10936

2018-08-3001:49:30
redhat.com
access.redhat.com
13

0.004 Low

EPSS

Percentile

72.1%

A weakness was found in postgresql-jdbc. 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.

Mitigation

Applications using postgresql-jdbc should have their SSL configuration reviewed to ensure that host name verification is not disabled and only trusted CAs are accepted.

This vulnerability only impacts usage of postgresql-jdbc with a non-default SSL Factory, provided by the sslfactory parameter. If this parameter is not given, the default LibPQFactory is used, which is not vulnerable.