CVE-2018-10936

PostgreSQL: Postgres JDBC driver does not perform host name validation by default

Published Aug 30, 2018 CVSS 3.0 · 8.1 High EPSS 2.9% KEV · Not listed
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

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-0508 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.
Github GHSA Github GHSA GHSA-568q-9fw5-28wf Moderate severity vulnerability that affects org.postgresql:pgjdbc-aggregate
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 7:54 AM
Reserved
May 9, 2018, 12:00 AM
Status
Modified
Published
Aug 30, 2018, 1:29 PM
Modified
Jun 17, 2026, 1:34 AM
Severity
Low
Public date
Aug 27, 2018, 12:00 AM