Improper Validation of Certificate with Host Mismatch Affecting postgresql-jdbc package, versions *


Severity

Recommended
low

Based on CentOS security rating.

Threat Intelligence

EPSS
0.32% (71st percentile)

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 IDSNYK-CENTOS7-POSTGRESQLJDBC-1990033
  • published26 Jul 2021
  • disclosed27 Aug 2018

Introduced: 27 Aug 2018

CVE-2018-10936  (opens in a new tab)
CWE-297  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 postgresql-jdbc.

NVD Description

Note: Versions mentioned in the description apply only to the upstream postgresql-jdbc package and not the postgresql-jdbc package as distributed by Centos. See How to fix? for Centos:7 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.