GHSA-568q-9fw5-28wf

Suggest an improvement
Source
https://github.com/advisories/GHSA-568q-9fw5-28wf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/10/GHSA-568q-9fw5-28wf/GHSA-568q-9fw5-28wf.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-568q-9fw5-28wf
Aliases
Published
2018-10-19T16:53:33Z
Modified
2024-12-02T05:49:37.159941Z
Summary
Moderate severity vulnerability that affects org.postgresql:pgjdbc-aggregate
Details

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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-297"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:00:08Z"
}
References

Affected packages

Maven / org.postgresql:pgjdbc-aggregate

Package

Name
org.postgresql:pgjdbc-aggregate
View open source insights on deps.dev
Purl
pkg:maven/org.postgresql/pgjdbc-aggregate

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
42.2.5

Affected versions

9.*

9.4.1207
9.4.1208
9.4.1209
9.4.1210
9.4.1211
9.4.1212

42.*

42.0.0
42.1.0
42.1.1
42.1.2
42.1.3
42.1.4
42.2.0
42.2.1
42.2.2
42.2.3
42.2.4