CVE-2018-10936Postgresql Jdbc Driver
High 8.1 No auth needed
Follow: this CVE · Postgresql · Postgresql Jdbc Driver We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.0
- 8.1
- EPSS
- 2.9% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Aug 30, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-297
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Postgresql Jdbc Driver.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.postgresql:pgjdbc-aggregate |
< 42.2.5 |
42.2.5 |
— |
Per OSV / GitHub Advisories (GHSA-568q-9fw5-28wf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postgresql | postgresql_jdbc_driver | < 42.2.5 |
| redhat | enterprise_linux | 6.0 |
| redhat | enterprise_linux | 7.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- bugzilla.redhat.com Issue Tracking Mitigation Third Party Advisory
- lists.apache.org
- www.postgresql.org Vendor Advisory