{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/40390?format=json","vulnerability_id":"VCID-1vpc-un4w-kyg9","summary":"Improper Validation of Certificate with Host Mismatch\nA 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.","aliases":[{"alias":"CVE-2018-10936"},{"alias":"GHSA-568q-9fw5-28wf"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/56902?format=json","purl":"pkg:maven/org.postgresql/pgjdbc-aggregate@42.2.5","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.postgresql/pgjdbc-aggregate@42.2.5"}],"affected_packages":[],"references":[{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10936","reference_id":"CVE-2018-10936","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-10936"},{"reference_url":"https://github.com/advisories/GHSA-568q-9fw5-28wf","reference_id":"GHSA-568q-9fw5-28wf","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-568q-9fw5-28wf"}],"weaknesses":[{"cwe_id":1035,"name":"OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."},{"cwe_id":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."},{"cwe_id":937,"name":"OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities","description":"Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."}],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-1vpc-un4w-kyg9"}