CVE-2018-10936
mediumpriority · track · 43EPSS 0.029 · 87 %ileexploit · PoCEUUSEPSS · scored 2026-10-23
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–8.1
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- tafamace/CVE-2018-10936tafamace/CVE-2018-10936PoC · poc_in_github
affected products (5)
Products and version ranges known to be affected.
- postgresql postgresql jdbc driver< 42.2.5nvdUScpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:*
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-568q-9fw5-28wfModerate severity vulnerability that affects org.postgresql:pgjdbc-aggregate2018-10-19ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (19)
External citations — patches, advisories, analysis.
- http://www.securityfocus.com/bid/105220cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10936cnnvd
- https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe@%3Ccommits.druid.apache.org%3Ecnnvd
- https://vigilance.fr/vulnerability/PostgreSQL-JDBC-driver-Man-in-the-Middle-via-Host-Name-Unchecked-28735cnnvd
- https://www.auscert.org.au/bulletins/ESB-2020.0271/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2020.4199/cnnvd
- https://www.ibm.com/blogs/psirt/security-bulletin-ibm-has-announced-a-release-for-ibm-security-identity-governance-and-intelligence-in-response-to-security-vulnerabilities-cve-2018-1058-cve-2018-10936-cve-2019-9193/cnnvd
- https://www.ibm.com/blogs/psirt/security-bulletin-ibm-security-information-queue-uses-database-components-with-known-vulnerabilities-cve-2016-3506-cve-2018-1058-cve-2018-10936-cve-2019-9193/cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan