pgjdbcで通信のTLS強制が一部の設定で効かず盗聴・改ざんされるおそれの脆弱性
Summary
pgjdbcは、一部の設定でTLSが強制されず、ネットワーク上の攻撃者が通信内容を読み取ったり書き換えたりするおそれがあります。影響するのは9.4.1208から42.7.14までの版で、42.7.15で修正されています。pgjdbcを利用しているアプリケーションは、修正版の42.7.15への更新を優先してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
pgjdbcは、一部の設定でTLSが強制されず、ネットワーク上の攻撃者が通信内容を読み取ったり書き換えたりするおそれがあります。影響するのは9.4.1208から42.7.14までの版で、42.7.15で修正されています。pgjdbcを利用しているアプリケーションは、修正版の42.7.15への更新を優先してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pgjdbcpgjdbc |
≥ 9.4.1208, < 42.7.15→ 42.7.15 |
42.7.15 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-134845 libpgjava Fix available
- Ubuntu UBUNTU-CVE-2026-134845 libpgjava No fixed version in this record
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: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web repo.maven.apache.org