CVE-2018-10936

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.

Severity
HIGH
CVSS v3
8.1
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
2.873%
chance of exploitation in the next 30 days
higher than 87.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2018-08-30Published by the CNA13:00 UTC
  2. 2018-10-19GitHub advisory published (GHSA-568q-9fw5-28wf)50 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-568q-9fw5-28wf, affected packages:

PackageVulnerable versionsFixed in
Maven org.postgresql:pgjdbc-aggregatebefore 42.2.542.2.5

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
postgresql postgresql_jdbc_driverbefore 42.2.5fixed in 42.2.542.2.5
redhat enterprise_linux6.0no fix listed7.0no fix listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources