pgjdbcに脆弱性、別のデータベースロールのオブジェクトが実行される
Summary
pgjdbcのカタログ問い合わせで、スキーマ修飾のない演算子や関数が使われているため、別のデータベースロールが用意したオブジェクトが、アプリケーションのロールの権限で実行されるおそれがあります。42.7.15より前のすべての版が影響を受け、42.7.15で修正されています。CVSSは7.5で、悪用の有無は公表されていません。
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のカタログ問い合わせで、スキーマ修飾のない演算子や関数が使われているため、別のデータベースロールが用意したオブジェクトが、アプリケーションのロールの権限で実行されるおそれがあります。42.7.15より前のすべての版が影響を受け、42.7.15で修正されています。CVSSは7.5で、悪用の有無は公表されていません。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| pgjdbcpgjdbc |
< 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-134844 libpgjava Fix available
- Ubuntu UBUNTU-CVE-2026-134844 libpgjava No fixed version in this record
Original description The description as published by the source.
pgjdbc, the PostgreSQL JDBC Driver, uses unqualified operators and functions in the catalog queries of DatabaseMetaData, ResultSetMetaData and TypeInfoCache. A role with CREATE on a schema of the application's search_path can add an operator with an exact type match, and the server runs it with the privileges of the application's role. TypeInfoCache also resolves an unqualified type name such as interval by its own ranking. A domain with that name in another schema, even the temporary schema of another session, can be used instead, and its CHECK runs in the application's session. All versions before 42.7.15 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