pgjdbc, the PostgreSQL JDBC Driver, does not enforce TLS for some settings that ask for it. When sslmode is not set, an ssl value such as 1, on, yes o...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:14.04:LTSlibpgjava |
All versions→ Not listed |
Not listed |
| Ubuntu:16.04:LTSlibpgjava |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSlibpgjava |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSlibpgjava |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibpgjava |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlibpgjava |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10libpgjava |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlibpgjava |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
pgjdbc, the PostgreSQL JDBC Driver, does not enforce TLS for some settings that ask for it. When sslmode is not set, an ssl value such as 1, on, yes or verify-full gives sslmode=prefer, or no TLS before 42.2.5. A service given in the Properties instead of the URL is ignored, so the sslmode of its pg_service.conf entry is lost. BaseDataSource.setUrl() keeps an sslmode, channelBinding or gssEncMode that was set before it. An attacker on the network path can then read and change the traffic. Versions 9.4.1208 through 42.7.14 are affected, and 42.7.15 fixes the problem.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com