gbif / treebase

Source code for TreeBASE web application and database
http://www.treebase.org
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Bump postgresql from 42.1.3 to 42.3.3 in /treebase-core #9

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps postgresql from 42.1.3 to 42.3.3.

Changelog

Sourced from postgresql's changelog.

[42.3.3] (2022-02-15 11:32:24 -0500)

Changed

  • 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 logging.properties.

Added

Fixed

[42.3.2] (2022-02-01 07:35:41 -0500)

Security

  • 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 commit

Changed

  • perf: read in_hot_standby GUC on connection [PR #2334](pgjdbc/pgjdbc#2334)
  • test: materialized view privileges [PR #2209](pgjdbc/pgjdbc#2209) fixes [Issue #2060](pgjdbc/pgjdbc#2060)
  • docs: add info about convenience maven project [PR #2407](pgjdbc/pgjdbc#2407)
  • docs: Document timezone reversal from POSIX to ISO [PR #2413](pgjdbc/pgjdbc#2413)
  • fix: we will ask the server if it supports GSS Encryption if gssEncryption is prefer or require [PR #2396](pgjdbc/pgjdbc#2396) remove the need to have a ticket in the cache before asking the server if gss encryptions are supported
  • docs: remove Java 6 and 7 references from contributing [PR #2385](pgjdbc/pgjdbc#2385)
  • style: remove Java 8 / JDBC 4.2 checks [PR #2383](pgjdbc/pgjdbc#2383) Remove all remaining checks whether the source is lower than Java 8 or JDBC 4.2.
  • fix: throw SQLException for #getBoolean BIT(>1) [PR #2386](pgjdbc/pgjdbc#2386) Throw SQLException instead of ClassCastException when calling CallableStatement#getBoolean(int) on BIT(>1).
  • style: import java.time types in more classes [PR #2382](pgjdbc/pgjdbc#2382) Use imports for java.time types in all remaining classes.
  • style: import java.time types in TimestampUtils [PR #2380](pgjdbc/pgjdbc#2380) Use imports for java.time types in TimestampUtils.
  • 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.
  • test: Fix DatabaseMetadataTest to perform mview tests only on 9.3+
  • perf: read in_hot_standby GUC on connection [PR #2334](pgjdbc/pgjdbc#2334)
  • doc: improv doc around binary decoding of numeric data #2331
  • Add cert key type checking to chooseClientAlias [PR #2417](pgjdbc/pgjdbc#2417)

Added

  • 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 #2369](pgjdbc/pgjdbc#2369) original issue [Issue #2102](pgjdbc/pgjdbc#2102)
  • feat: add tcpNoDelay option [PR #2341](pgjdbc/pgjdbc#2341) fixes [Issue #2324](pgjdbc/pgjdbc#2324)
  • feat: pg_service.conf and .pgpass support (jdbc:postgresql://?service=my-service) [PR #2260](pgjdbc/pgjdbc#2260) fixes [Issue #2278](pgjdbc/pgjdbc#2278)

... (truncated)

Commits


Dependabot compatibility score

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 commands and options
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/gbif/treebase/network/alerts).