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
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
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+
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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/ysoftdevs/nuget-repository-indexer/pull/4
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 2/16/2022
**Status:** ❌ Closed
**Base:** `master` ← **Head:** `dependabot/maven/org.postgresql-postgresql-42.3.3`
---
### 📝 Commits (1)
- [`b9e9855`](https://github.com/ysoftdevs/nuget-repository-indexer/commit/b9e98551c6a73499ec035dfd47b4588f6ed921d7) Bump postgresql from 42.2.8 to 42.3.3
### 📊 Changes
**1 file changed** (+1 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `pom.xml` (+1 -1)
</details>
### 📄 Description
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.8 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>
<h1>Changelog</h1>
<p>Notable changes since version 42.0.0, read the complete <a href="https://jdbc.postgresql.org/documentation/changelog.html">History of Changes</a>.</p>
<p>The format is based on <a href="http://keepachangelog.com/en/1.0.0/">Keep a Changelog</a>.</p>
<h2>[Unreleased]</h2>
<h3>Changed</h3>
<h3>Added</h3>
<h3>Fixed</h3>
<p>[42.3.3] (2022-02-15 11:32:24 -0500)</p>
<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>
<p>[42.3.2] (2022-02-01 07:35:41 -0500)</p>
<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(>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(>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>
<!-- 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.8...REL42.3.3">compare view</a></li>
</ul>
</details>
<br />
[](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/ysoftdevs/nuget-repository-indexer/network/alerts).
</details>
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/ysoftdevs/nuget-repository-indexer/pull/4
Author: @dependabot[bot]
Created: 2/16/2022
Status: ❌ Closed
Base:
master← Head:dependabot/maven/org.postgresql-postgresql-42.3.3📝 Commits (1)
b9e9855Bump postgresql from 42.2.8 to 42.3.3📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
pom.xml(+1 -1)📄 Description
Bumps postgresql from 42.2.8 to 42.3.3.
Changelog
Sourced from postgresql's changelog.
... (truncated)
Commits
9effea4Update version number and create changelog for 42.3.3 (#2455)12c7fb4fix javadocs (#2454)f6d4703Merge pull request from GHSA-673j-qm5f-xpv8c03664eUpdate SECURITY.mdddc6315Update SECURITY.md (#2445)38d9608add security policy link to index (#2440)ee23fd0Create SECURITY.md728c04efix javadoc failure to document parameters (#2432)2de239fGenerate changelog (#2431)f4d0ed6Merge pull request from GHSA-v7wg-cpwc-24m4Dependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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 labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and languageYou can disable automated security fix PRs for this repo from the Security Alerts page.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.