[pgjdbc/pgjdbc] 8a363a: Merge pull request from GHSA-v7wg-cpwc-24m4

From: Vladimir Sitnikov <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] 8a363a: Merge pull request from GHSA-v7wg-cpwc-24m4
Date: 2022-02-01 12:27:26
Message-ID: pgjdbc/pgjdbc/push/refs/heads/release/42.2/51c70a-8a363a@github.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/release/42.2
Home: https://github.com/pgjdbc/pgjdbc
Commit: 8a363a7c0989ef8a8f45bb055b4003f758ceabd5
https://github.com/pgjdbc/pgjdbc/commit/8a363a7c0989ef8a8f45bb055b4003f758ceabd5
Author: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Date: 2022-02-01 (Tue, 01 Feb 2022)

Changed paths:
M pgjdbc/src/main/java/org/postgresql/core/SocketFactoryFactory.java
M pgjdbc/src/main/java/org/postgresql/ssl/LibPQFactory.java
M pgjdbc/src/main/java/org/postgresql/ssl/MakeSSL.java
M pgjdbc/src/main/java/org/postgresql/util/ObjectFactory.java
M pgjdbc/src/test/java/org/postgresql/test/TestUtil.java
A pgjdbc/src/test/java/org/postgresql/test/util/ObjectFactoryTest.java

Log Message:
-----------
Merge pull request from GHSA-v7wg-cpwc-24m4

* test: Add some SSL helpers to TestUtil

* security: verify plugin classes adhere to the expected interface before instantiating the class

This ensures arbitrary classes can't be passed instead of
SocketFactory, SSLSocketFactory, CallbackHandler, HostnameVerifier

Co-authored-by: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2022-02-01 12:42:51 [pgjdbc/pgjdbc] 2de239: Generate changelog (#2431)
Previous Message Dave Cramer 2022-01-31 19:31:21 [pgjdbc/pgjdbc] 3f846e: Generate changelog