Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nEsFy-0005G4-8T for pgsql-jdbc@arkaria.postgresql.org; Tue, 01 Feb 2022 12:27:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nEsFw-0000ge-TV for pgsql-jdbc@arkaria.postgresql.org; Tue, 01 Feb 2022 12:27:32 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nEsFw-0000gU-Kt for pgsql-jdbc@lists.postgresql.org; Tue, 01 Feb 2022 12:27:32 +0000 Received: from out-28.smtp.github.com ([192.30.252.211]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nEsFt-0008M3-HL for pgsql-jdbc@lists.postgresql.org; Tue, 01 Feb 2022 12:27:31 +0000 Received: from github.com (hubbernetes-node-5a12734.ash1-iad.github.net [10.56.131.26]) by smtp.github.com (Postfix) with ESMTPA id D985C90485F for ; Tue, 1 Feb 2022 04:27:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1643718446; bh=nRpZ/sIeWdZoPfxlekhoY6khd4VuwnSFWGkuCIDVWNc=; h=Date:From:To:Subject:From; b=CE1bOTWSnxxjLXqjmSjyR7SN19VRrVBY42m+a9UbupokX6/pPcPomSZzEt7GBe7pr 6fzJ/ud8GJYyyU9IYp9nnra5v6+4R3c24psMpT8ZMXk+nBaoGFHbaifBZztqmkA70M o5EQeFDkw1/ruzA1Z2kePI/YIVI4SxkINcpCOrDs= Date: Tue, 01 Feb 2022 04:27:26 -0800 From: Vladimir Sitnikov To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] f4d0ed: Merge pull request from GHSA-v7wg-cpwc-24m4 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: f4d0ed69c0b3aae8531d83d6af4c57f22312c813 https://github.com/pgjdbc/pgjdbc/commit/f4d0ed69c0b3aae8531d83d6af4c57f22312c813 Author: Vladimir Sitnikov 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/core/v3/AuthenticationPluginManager.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 A pgjdbc/src/test/java/org/postgresql/test/util/ObjectFactoryTest.java Log Message: ----------- Merge pull request from GHSA-v7wg-cpwc-24m4 This ensures arbitrary classes can't be passed instead of AuthenticationPlugin, SocketFactory, SSLSocketFactory, CallbackHandler, HostnameVerifier