{"schemaVersion":3,"id":"CVE-2018-10936","aliases":["UBUNTU-CVE-2018-10936","DEBIAN-CVE-2018-10936","GHSA-568q-9fw5-28wf"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2018-08-30T13:00:00.000Z","modified":"2024-08-05T07:54:36.516Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.1,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":8.1,"severity":"high","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":5.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.0291,"percentile":0.86794,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0291},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0291,"percentile":0.86794}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0291,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0291,"percentile":0.86794}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-297","name":"Improper Validation of Certificate with Host Mismatch","description":"The product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/297.html"}],"affected":[{"vendor":"debian","product":"libpgjava","name":"libpgjava","label":"libpgjava","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libpgjava","purlType":"deb","versions":[{"text":"< 42.2.5-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 42.2.5-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libpgjava","name":"libpgjava","label":"libpgjava","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libpgjava","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"org.postgresql","product":"pgjdbc-aggregate","name":"org.postgresql:pgjdbc-aggregate","label":"pgjdbc-aggregate","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.postgresql/pgjdbc-aggregate","purlType":"maven","versions":[{"text":"< 42.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 42.2.5","eol":null,"hubHref":null},{"vendor":"postgresql","product":"postgresql_jdbc_driver","name":"postgresql jdbc driver","label":"postgresql_jdbc_driver","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 42.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 42.2.5","eol":null,"hubHref":"/vendor/postgresql/postgresql_jdbc_driver"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null},{"text":"7.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0 | 7.0","eol":{"isEol":true,"eolDate":"2020-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"6","label":"6 (ELS)","eolFrom":"2020-11-30T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"6.10"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"},{"vendor":"[unknown]","product":"postgresql","name":"PostgreSQL","label":"postgresql","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"42.2.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"42.2.5","eol":null,"hubHref":"/vendor/unknown/postgresql"}],"affectedCount":6,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://www.securityfocus.com/bid/105220","label":"www.securityfocus.com/bid/105220","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory","WEB"]},{"url":"https://www.postgresql.org/about/news/1883/","label":"www.postgresql.org/about/news/1883/","hostname":"www.postgresql.org","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10936","label":"bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10936","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Mitigation","Third Party Advisory","WEB"]},{"url":"https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe%40%3Ccommits.druid.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["Mailing List","X Refsource MLIST"]},{"url":"https://ubuntu.com/security/CVE-2018-10936","label":"ubuntu.com/security/CVE-2018-10936","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-10936","label":"www.cve.org/CVERecord?id=CVE-2018-10936","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-10936","label":"security-tracker.debian.org/tracker/CVE-2018-10936","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10936","label":"nvd.nist.gov/vuln/detail/CVE-2018-10936","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-568q-9fw5-28wf","label":"github.com/advisories/GHSA-568q-9fw5-28wf","hostname":"github.com","tags":["Advisory"]},{"url":"https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe@%3Ccommits.druid.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["WEB"]},{"url":"https://www.postgresql.org/about/news/1883","label":"www.postgresql.org/about/news/1883","hostname":"www.postgresql.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["SUSE-SU-2020:3466-1"],"duplicates":[],"related":["SUSE-SU-2020:3466-1"]},"timeline":[{"kind":"published","date":"2018-08-30T13:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T07:54:36.516Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":33,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:38:29.531Z","stale":false,"partial":false}}