{"id":"CVE-2018-10936","published":"2018-08-30T13:00:00Z","modified":"2024-08-05T07:54:36Z","title":"A weakness was found in postgresql-jdbc before version 42.2.5","vendor":null,"product":"PostgreSQL","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02873,"percentile":0.87149,"provenance":"source"},"cwes":[{"id":"CWE-297","name":"Improper Validation of Certificate with Host Mismatch"}],"references":[{"url":"http://www.securityfocus.com/bid/105220","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.postgresql.org/about/news/1883/","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10936","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":23.1,"factors":[{"name":"EPSS percentile","points":17.43},{"name":"CVSS severity","points":5.67}]},"affectedVersions":[{"vendor":"[UNKNOWN]","product":"PostgreSQL","versions":["42.2.5"]}],"affected":[{"ecosystem":"Maven","package":"org.postgresql:pgjdbc-aggregate","vulnerableRanges":["<42.2.5"],"patched":["42.2.5"],"from":["GHSA-568q-9fw5-28wf"],"provenance":"source"}],"summary":{"text":"The postgresql-jdbc driver before version 42.2.5 fails to verify the server host name when an SSL Factory is supplied without a host name verifier. An attacker positioned as a man-in-the-middle can impersonate a trusted server by presenting a certificate issued for a different host, provided a trusted CA signed it and the attacker can intercept the network connection with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:08Z"},"euvd":{"id":"EUVD-2018-0508","exploited":false,"provenance":"source"}}