Live threats

All CVEs / Postgresql

CVE-2018-10936Postgresql Jdbc Driver

High 8.1 No auth needed

Priority
64
CVSS 3.0
8.1
EPSS
2.9%
probability of exploitation in 30 days · percentile 88
Auth required
No
Published
Aug 30, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-297
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Postgresql Jdbc Driver.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.postgresql:pgjdbc-aggregate < 42.2.5 42.2.5 —

Per OSV / GitHub Advisories (GHSA-568q-9fw5-28wf). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
postgresqlpostgresql_jdbc_driver< 42.2.5
redhatenterprise_linux6.0
redhatenterprise_linux7.0

Official sources

References

Links published by the sources. Open them with care.