pgjdbc catalog queries can run objects of other database roles
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| pgjdbc | pgjdbc | unaffected |
|
No data.
No data.
No data available yet.
Vendor Solution
Upgrade to pgjdbc 42.7.15 or later.
Vendor Workaround
Do not grant CREATE on schemas of the application's search_path to untrusted roles, and revoke TEMP from them.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | pgjdbc catalog queries can run objects of other database roles | |
| Weaknesses | CWE-427 | |
| References |
| |
| Metrics |
cvssV3_1
|
No data.