You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/04/05 10:41:23 UTC

[GitHub] [flink] dependabot[bot] opened a new pull request, #19358: Bump postgresql from 42.2.10 to 42.3.3 in /flink-connectors/flink-connector-jdbc

dependabot[bot] opened a new pull request, #19358:
URL: https://github.com/apache/flink/pull/19358

   Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.10 to 42.3.3.
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md">postgresql's changelog</a>.</em></p>
   <blockquote>
   <h2>[42.3.3] (2022-02-15 11:32:24 -0500)</h2>
   <h3>Changed</h3>
   <ul>
   <li>fix: Removed loggerFile and loggerLevel configuration. While the properties still exist.
   They can no longer be used to configure the driver logging. Instead use java.util.logging
   configuration mechanisms such as <code>logging.properties</code>.</li>
   </ul>
   <h3>Added</h3>
   <h3>Fixed</h3>
   <h2>[42.3.2] (2022-02-01 07:35:41 -0500)</h2>
   <h3>Security</h3>
   <ul>
   <li>CVE-2022-21724 pgjdbc instantiates plugin instances based on class names provided via authenticationPluginClassName,
   sslhostnameverifier, socketFactory, sslfactory, sslpasswordcallback connection properties.
   However, the driver did not verify if the class implements the expected interface before instantiating the class. This
   would allow a malicious class to be instantiated that could execute arbitrary code from the JVM. Fixed in <a href="https://github.com/pgjdbc/pgjdbc/commit/f4d0ed69c0b3aae8531d83d6af4c57f22312c813">commit</a></li>
   </ul>
   <h3>Changed</h3>
   <ul>
   <li>perf: read in_hot_standby GUC on connection [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2334">#2334</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2334">pgjdbc/pgjdbc#2334</a>)</li>
   <li>test: materialized view privileges [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2209">#2209</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2209">pgjdbc/pgjdbc#2209</a>) fixes [Issue <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2060">#2060</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2060">pgjdbc/pgjdbc#2060</a>)</li>
   <li>docs: add info about convenience maven project [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2407">#2407</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2407">pgjdbc/pgjdbc#2407</a>)</li>
   <li>docs: Document timezone reversal from POSIX to ISO [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2413">#2413</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2413">pgjdbc/pgjdbc#2413</a>)</li>
   <li>fix: we will ask the server if it supports GSS Encryption if gssEncryption
   is prefer or require [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2396">#2396</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2396">pgjdbc/pgjdbc#2396</a>) remove the need to have a ticket in the cache before asking the server if gss encryptions are supported</li>
   <li>docs: remove Java 6 and 7 references from contributing [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2385">#2385</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2385">pgjdbc/pgjdbc#2385</a>)</li>
   <li>style: remove Java 8 / JDBC 4.2 checks [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2383">#2383</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2383">pgjdbc/pgjdbc#2383</a>) Remove all remaining checks whether the source is lower than Java 8
   or JDBC 4.2.</li>
   <li>fix: throw SQLException for #getBoolean BIT(&gt;1) [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2386">#2386</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2386">pgjdbc/pgjdbc#2386</a>) Throw SQLException instead of ClassCastException when calling
   CallableStatement#getBoolean(int) on BIT(&gt;1).</li>
   <li>style: import java.time types in more classes [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2382">#2382</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2382">pgjdbc/pgjdbc#2382</a>) Use imports for java.time types in all remaining classes.</li>
   <li>style: import java.time types in TimestampUtils [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2380">#2380</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2380">pgjdbc/pgjdbc#2380</a>) Use imports for java.time types in TimestampUtils.</li>
   <li>refactor: Change internal constructors to pass only connection Properties
   Changes internal constructors for PgConnection and related classes to only accept the connection properties object and
   remove the user and password arguments. Any locations that required those fields can retrieve them from the properties map.</li>
   <li>test: Fix DatabaseMetadataTest to perform mview tests only on 9.3+</li>
   <li>perf: read in_hot_standby GUC on connection [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2334">#2334</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2334">pgjdbc/pgjdbc#2334</a>)</li>
   <li>doc: improv doc around binary decoding of numeric data <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2331">#2331</a></li>
   <li>Add cert key type checking to chooseClientAlias [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2417">#2417</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2417">pgjdbc/pgjdbc#2417</a>)</li>
   </ul>
   <h3>Added</h3>
   <ul>
   <li>feat: Add authenticationPluginClassName option to provide passwords at runtime
   Adds authenticationPluginClassName connection property that allows end users to specify a class
   that will provide the connection passwords at runtime. Users implementing that interface must
   ensure that each invocation of the method provides a new char[] array as the contents
   will be filled with zeroes by the driver after use.Call sites within the driver have been updated to use the char[] directly wherever possible.
   This includes direct usage in the GSS authentication code paths that internally were already converting the String password into a char[] for internal usage.
   This allows configuring a connection with a password that must be generated on the fly or periodically changes. [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2369">#2369</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2369">pgjdbc/pgjdbc#2369</a>) original issue [Issue <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2102">#2102</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2102">pgjdbc/pgjdbc#2102</a>)</li>
   <li>feat: add tcpNoDelay option [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2341">#2341</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2341">pgjdbc/pgjdbc#2341</a>) fixes [Issue <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2324">#2324</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2324">pgjdbc/pgjdbc#2324</a>)</li>
   <li>feat: pg_service.conf and .pgpass support (jdbc:postgresql://?service=my-service) [PR <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2260">#2260</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/pull/2260">pgjdbc/pgjdbc#2260</a>) fixes [Issue <a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2278">#2278</a>](<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2278">pgjdbc/pgjdbc#2278</a>)</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/pgjdbc/pgjdbc/commit/9effea487dca529dc5cb0e71600a8c6509819c56"><code>9effea4</code></a> Update version number and create changelog for 42.3.3 (<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2455">#2455</a>)</li>
   <li><a href="https://github.com/pgjdbc/pgjdbc/commit/12c7fb40f761d69d64ced158684af2ccef279b48"><code>12c7fb4</code></a> fix javadocs (<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2454">#2454</a>)</li>
   <li><a href="https://github.com/pgjdbc/pgjdbc/commit/f6d47034a4ce292e1a659fa00963f6f713117064"><code>f6d4703</code></a> Merge pull request from GHSA-673j-qm5f-xpv8</li>
   <li><a href="https://github.com/pgjdbc/pgjdbc/commit/c03664e6fbee67de59a646fac6df7a94073e2f0a"><code>c03664e</code></a> Update SECURITY.md</li>
   <li><a href="https://github.com/pgjdbc/pgjdbc/commit/ddc63151559c51118917420879a87ceee03203b9"><code>ddc6315</code></a> Update SECURITY.md (<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2445">#2445</a>)</li>
   <li><a href="https://github.com/pgjdbc/pgjdbc/commit/38d9608959d2387f85aa71000ab44c55afac874d"><code>38d9608</code></a> add security policy link to index (<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2440">#2440</a>)</li>
   <li><a href="https://github.com/pgjdbc/pgjdbc/commit/ee23fd02ca38bd50100521d1172db30f1e87bdac"><code>ee23fd0</code></a> Create SECURITY.md</li>
   <li><a href="https://github.com/pgjdbc/pgjdbc/commit/728c04ee8d26dcc4bca51503c2e93ad87ef8ce87"><code>728c04e</code></a> fix javadoc failure to document parameters (<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2432">#2432</a>)</li>
   <li><a href="https://github.com/pgjdbc/pgjdbc/commit/2de239ff6f16393c10e3fbbe0b424d04d9332bdf"><code>2de239f</code></a> Generate changelog (<a href="https://github-redirect.dependabot.com/pgjdbc/pgjdbc/issues/2431">#2431</a>)</li>
   <li><a href="https://github.com/pgjdbc/pgjdbc/commit/f4d0ed69c0b3aae8531d83d6af4c57f22312c813"><code>f4d0ed6</code></a> Merge pull request from GHSA-v7wg-cpwc-24m4</li>
   <li>Additional commits viewable in <a href="https://github.com/pgjdbc/pgjdbc/compare/REL42.2.10...REL42.3.3">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.postgresql:postgresql&package-manager=maven&previous-version=42.2.10&new-version=42.3.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
   - `@dependabot merge` will merge this PR after your CI passes on it
   - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
   - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
   - `@dependabot reopen` will reopen this PR if it is closed
   - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
   - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
   - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
   - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
   - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
   - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
   
   You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/flink/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] MartijnVisser closed pull request #19358: Bump postgresql from 42.2.10 to 42.3.3 in /flink-connectors/flink-connector-jdbc

Posted by GitBox <gi...@apache.org>.
MartijnVisser closed pull request #19358: Bump postgresql from 42.2.10 to 42.3.3 in /flink-connectors/flink-connector-jdbc
URL: https://github.com/apache/flink/pull/19358


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] dependabot[bot] commented on pull request #19358: Bump postgresql from 42.2.10 to 42.3.3 in /flink-connectors/flink-connector-jdbc

Posted by GitBox <gi...@apache.org>.
dependabot[bot] commented on PR #19358:
URL: https://github.com/apache/flink/pull/19358#issuecomment-1088767217

   OK, I won't notify you about version 42.3.x again, unless you re-open this PR or update to a 42.3.x release yourself.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] MartijnVisser commented on pull request #19358: Bump postgresql from 42.2.10 to 42.3.3 in /flink-connectors/flink-connector-jdbc

Posted by GitBox <gi...@apache.org>.
MartijnVisser commented on PR #19358:
URL: https://github.com/apache/flink/pull/19358#issuecomment-1088767142

   Closing this in favor of https://github.com/apache/flink/pull/18604
   
   @dependabot ignore this minor version


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [flink] flinkbot commented on pull request #19358: Bump postgresql from 42.2.10 to 42.3.3 in /flink-connectors/flink-connector-jdbc

Posted by GitBox <gi...@apache.org>.
flinkbot commented on PR #19358:
URL: https://github.com/apache/flink/pull/19358#issuecomment-1088549038

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "b66c8e5b401e9d4a3553ce828646fa354944dc4f",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "b66c8e5b401e9d4a3553ce828646fa354944dc4f",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * b66c8e5b401e9d4a3553ce828646fa354944dc4f UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     The @flinkbot bot supports the following commands:
   
    - `@flinkbot run azure` re-run the last Azure build
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org