Skip to content
OpenAdvisories
High · 8.1 Public exploit CVE-2018-10936 EUVD-2018-0508GHSA-568q-9fw5-28wf

Moderate severity vulnerability that affects org.postgresql:pgjdbc-aggregate

Published Aug 30, 2018 · Updated Aug 5, 2024 · Assigned by redhat

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

VendorProductAffectedFixed
[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.

ReleasePackageFixed inAdvisory
Debian 14 libpgjava 42.2.5-1 —
Debian 13 libpgjava 42.2.5-1 —
Debian 12 libpgjava 42.2.5-1 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libpgjava No fix yet —
Ubuntu Pro 18.04 LTS libpgjava No fix yet —
ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.postgresql:pgjdbc-aggregate < 42.2.5 42.2.5 GHSA-568q-9fw5-28wf

Advisories 1

References