WizがGoogle Cloudに参加:共に魔法を作り出す

CVE-2026-134845: 
Java 脆弱性分析と緩和策

概要

CVE-2026-134845 is a TLS enforcement flaw in pgjdbc, the PostgreSQL JDBC Driver, that allows network-positioned attackers to intercept and modify database traffic. The vulnerability arises because several SSL/TLS configuration scenarios fail to enforce encryption as intended, effectively downgrading connections to unencrypted or weakly authenticated sessions. Affected versions span from 9.4.1208 through 42.7.14 (Maven artifact org.postgresql:postgresql), and version 42.7.15 resolves the issue. It was disclosed on November 23, 2026, with a CVSS v3.1 base score of 7.4 (High) (GitHub Advisory).

技術的詳細

The vulnerability is classified under CWE-295 (Improper Certificate Validation) and CWE-319 (Cleartext Transmission of Sensitive Information). Three distinct misconfiguration paths exist: (1) When sslmode is not explicitly set, SSL shorthand values such as 1, on, yes, or verify-full resolve to sslmode=prefer (from version 42.2.5 onward) or no TLS at all (versions 9.4.1208–42.2.4), rather than enforcing encryption; (2) when a PostgreSQL service is specified via Properties in getConnection() rather than the URL, the sslmode from the corresponding pg_service.conf entry is silently ignored; (3) BaseDataSource.setUrl() does not overwrite previously set properties, so a prior sslmode, channelBinding, or gssEncMode value can persist unexpectedly across calls. A minimal proof-of-concept connection string demonstrating the issue is jdbc:postgresql://db.example.com/app?ssl=on, which results in sslmode=prefer rather than enforced TLS (GitHub Advisory).

影響

An unauthenticated attacker positioned on the network path between a Java application and its PostgreSQL server can perform a man-in-the-middle attack, reading and modifying all database traffic in transit. This includes database credentials (for authentication methods that transmit passwords), query results, and data modification commands. Confidentiality and integrity are both rated High, as the attacker can harvest sensitive data and tamper with database interactions; availability is not directly impacted (GitHub Advisory, Feedly).

利用可能性

No public proof-of-concept exploit code or in-the-wild exploitation has been confirmed as of the disclosure date (GitHub Advisory). The NVD SSVC assessment notes exploitation status as "poc" but no weaponized exploit kit or threat actor attribution has been reported. The EPSS score is approximately 0.203%, indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires the attacker to be positioned on the network path between the client and server (Attack Complexity: High), limiting opportunistic exploitation (GitHub Advisory).

エクスプロイテーションのステップ

  1. Reconnaissance: Identify Java applications using pgjdbc versions 9.4.1208–42.7.14 that connect to PostgreSQL, particularly those using shorthand SSL parameters (ssl=on, ssl=yes, ssl=1) in their JDBC connection strings or relying on pg_service.conf for TLS configuration.
  2. Network Positioning: Gain a man-in-the-middle position on the network path between the application server and the PostgreSQL database server (e.g., via ARP spoofing, rogue Wi-Fi, or compromised network infrastructure).
  3. TLS Downgrade: When the vulnerable driver initiates a connection with sslmode=prefer (the unintended result of misconfigured SSL parameters), intercept the TLS negotiation and refuse or strip the TLS handshake, causing the driver to fall back to an unencrypted connection.
  4. Traffic Interception: Capture the plaintext PostgreSQL protocol traffic, extracting credentials transmitted during authentication and reading query results and data.
  5. Traffic Modification: Optionally inject or modify SQL commands and server responses in transit to manipulate application behavior or exfiltrate additional data (GitHub Advisory).

妥協の兆候

  • Network: Unexpected unencrypted PostgreSQL protocol traffic (port 5432) on network segments where TLS was expected; TLS negotiation failures or SSL handshake refusals logged between application and database servers; ARP anomalies or unexpected routing changes on the network path between application and database hosts.
  • Logs: PostgreSQL server logs showing connections without SSL where SSL was expected (pg_stat_ssl showing ssl = false for connections from application servers); application logs showing JDBC connections succeeding without TLS warnings despite SSL parameters being set.
  • Application Behavior: Database connections succeeding even when the PostgreSQL server is configured to reject non-TLS connections, or authentication succeeding over plaintext when sslmode=require was intended.

緩和策と回避策

Upgrade org.postgresql:postgresql (pgjdbc) to version 42.7.15 or later, which is the official fix (GitHub Advisory). As interim mitigations: (1) explicitly set sslmode=require or sslmode=verify-full in JDBC connection URLs rather than using shorthand values like ssl=on; (2) pass service names via the URL rather than Properties to ensure pg_service.conf SSL settings are honored; (3) audit any code using BaseDataSource.setUrl() to ensure TLS settings are not inadvertently retained from prior configurations; (4) enforce TLS at the PostgreSQL server level by setting ssl = on and hostssl rules in pg_hba.conf to reject unencrypted connections. The patched release is available at the pgjdbc GitHub releases page (pgjdbc Release).

コミュニティの反応

The vulnerability was published by the pgjdbc maintainer (sehrope) via GitHub Security Advisories on November 23, 2026. Detection coverage was quickly added by Tenable (Nessus plugin 385441 and cloud security plugin 484331) and Qualys (detection ID 6783113), indicating prompt uptake by the vulnerability management community (Tenable Nessus). The CVE was also noted in the Anthropic-Credited CVEs repository, suggesting AI-assisted discovery may have played a role in identifying the vulnerability (GitHub Commit).

追加リソース

Linuxディストリビューションの修正状況

主要なLinuxディストリビューションとそのリリース間での可用性を修正しましょう。

Debian

修正済

bookworm

libpgjava

影響

sid

libpgjava: 42.7.15-1

修正済

trixie

libpgjava

影響

Ubuntu

不明

bionic (esm-apps)

libpgjava

不明

devel

libpgjava

不明

focal (esm-apps)

libpgjava

不明

jammy

libpgjava

不明

jammy (esm-apps)

libpgjava

不明

noble

libpgjava

不明

noble (esm-apps)

libpgjava

不明

resolute

libpgjava

不明

RHEL / CentOS

影響

RHEL 9

影響なし

RHEL 10

影響なし

ソース: この報告書はAIを用いて作成されました

関連 Java 脆弱性:

CVE ID

重大度

スコア

テクノロジー

コンポーネント名

CISA KEVのエクスプロイト

修正あり

出版日

CVE-2026-134844HIGH7.5
  • Java logoJava
  • org.postgresql:postgresql
いいえはいNov 23, 2026
CVE-2026-134848HIGH7.4
  • Java logoJava
  • org.postgresql:postgresql
いいえはいNov 23, 2026
CVE-2026-134845HIGH7.4
  • Java logoJava
  • flyway-fips
いいえはいNov 23, 2026
CVE-2026-134847MEDIUM6.5
  • Java logoJava
  • flyway
いいえはいNov 23, 2026
CVE-2026-134846MEDIUM6.5
  • Java logoJava
  • libpgjava
いいえはいNov 23, 2026

無料脆弱性評価

クラウドセキュリティの姿勢をベンチマークしましょう

9つのセキュリティ領域にわたるクラウドセキュリティの実践を評価し、リスクレベルをベンチマークし、防御のギャップを特定しましょう。

評価のリクエスト

Wizのその他のリソース

パーソナライズされたデモを見る

実際に Wiz を見てみませんか?​

"私が今まで見た中で最高のユーザーエクスペリエンスは、クラウドワークロードを完全に可視化します。"
デビッド・エストリックCISO (最高情報責任者)
"Wiz を使えば、クラウド環境で何が起こっているかを 1 つの画面で確認することができます"
アダム・フレッチャーチーフ・セキュリティ・オフィサー
"Wizが何かを重要視した場合、それは実際に重要であることを私たちは知っています。"
グレッグ・ポニャトフスキ脅威および脆弱性管理責任者