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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| [UNKNOWN] | PostgreSQL | 42.2.5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libpgjava | 42.2.5-1 | — |
| Debian 13 | libpgjava | 42.2.5-1 | — |
| Debian 12 | libpgjava | 42.2.5-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libpgjava | No fix yet | — |
| Ubuntu 16.04 LTS | libpgjava | No fix yet | — |
| Ubuntu 14.04 LTS | libpgjava | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | libpgjava | No fix yet | — |
| Ubuntu Pro 18.04 LTS | libpgjava | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Manager Server Module 4.0 | bind-formula | 0.1.1603299886.60e4bcf-3.11.1 | SUSE-SU-2020:3466-1 |
| SUSE Manager Server Module 4.0 | grafana-formula | 0.2.2-4.13.1 | SUSE-SU-2020:3466-1 |
| SUSE Manager Server Module 4.0 | postgresql-jdbc | 42.2.10-3.3.1 | SUSE-SU-2020:3466-1 |
| SUSE Manager Server Module 4.0 | prometheus-exporters-formula | 0.7.5-3.16.1 | SUSE-SU-2020:3466-1 |
| SUSE Manager Server Module 4.0 | prometheus-formula | 0.2.3-4.16.1 | SUSE-SU-2020:3466-1 |
| SUSE Manager Server Module 4.0 | salt-netapi-client | 0.18.0-4.12.1 | SUSE-SU-2020:3466-1 |
| SUSE Manager Server Module 4.0 | spacewalk-admin | 4.0.12-3.15.1 | SUSE-SU-2020:3466-1 |
| SUSE Manager Server Module 4.0 | spacewalk-backend | 4.0.35-3.38.1 | SUSE-SU-2020:3466-1 |
| SUSE Manager Server Module 4.0 | spacewalk-java | 4.0.40-3.48.2 | SUSE-SU-2020:3466-1 |
| SUSE Manager Server Module 4.0 | spacewalk-web | 4.0.25-3.36.1 | SUSE-SU-2020:3466-1 |
| SUSE Manager Server Module 4.0 | susemanager | 4.0.32-3.46.1 | SUSE-SU-2020:3466-1 |
| SUSE Manager Server Module 4.0 | susemanager-schema | 4.0.23-3.32.1 | SUSE-SU-2020:3466-1 |
| SUSE Manager Server Module 4.0 | susemanager-sls | 4.0.31-3.37.1 | SUSE-SU-2020:3466-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
tafamace/CVE-2018-10936 ★ 0 · Nov 19, 2018
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.postgresql:pgjdbc-aggregate | < 42.2.5 | 42.2.5 | GHSA-568q-9fw5-28wf |
Advisories 1
- SUSE-SU-2020:3466-1 Security update for SUSE Manager Server 4.0 SUSE / openSUSE Security Updates · Feb 4, 2026