CVE-2024-1597 and Security Advisory addressed. The vulnerability occurs only in non-default preferQueryMode=simple mode and only if a negative place holder -? is used. See the security advisory for details
security: SQL Injection via line comment generation, it is possible in SimpleQuery mode to generate a line comment by having a placeholder for a numeric with a -
such as -?. There must be second placeholder for a string immediately after. Setting the parameter to a -ve value creates a line comment.
This has been fixed in this version fixes CVE-2024-1597. Reported by Paul Gerste. See the security advisory for more details. This has been fixed in versions 42.7.2, 42.6.1 42.5.5, 42.4.4, 42.3.9, 42.2.28.jre7. See the security advisory for work arounds.
Changed
fix: Use simple query for isValid. Using Extended query sends two messages checkConnectionQuery was never ever set or used, removed [PR #3101](pgjdbc/pgjdbc#3101)
refactor: Document that encodePassword will zero out the password array, and remove driver's default encodePassword by @vlsi in [PR #3084](pgjdbc/pgjdbc#3084)
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Tu-Varna-2019/chatapp-server/network/alerts).
Bumps the maven group with 2 updates: junit:junit and org.postgresql:postgresql.
Updates
junit:junit
from 4.11 to 4.13.1Release notes
Sourced from junit:junit's releases.
Commits
1b683f4
[maven-release-plugin] prepare release r4.13.1ce6ce3a
Draft 4.13.1 release notesc29dd82
Change version to 4.13.1-SNAPSHOT1d17486
Add a link to assertThrows in exception testing543905d
Use separate line for annotation in Javadoc510e906
Add sub headlines to class Javadoc610155b
Merge pull request from GHSA-269g-pwp5-87ppb6cfd1e
Explicitly wrap float parameter for consistency (#1671)a5d205c
Fix GitHub link in FAQ (#1672)3a5c6b4
Deprecated since jdk9 replacing constructor instance of Double and Float (#1660)Updates
org.postgresql:postgresql
from 42.7.1 to 42.7.2Release notes
Sourced from org.postgresql:postgresql's releases.
Changelog
Sourced from org.postgresql:postgresql's changelog.
Commits
06abfb7
Merge pull request from GHSA-24rp-q3w6-vc5693b0fcb
Merge pull request from GHSA-24rp-q3w6-vc56a408946
Revert "WIP speed up getDate (#3108)" (#3125)f5d6e3f
WIP speed up getDate (#3108)4e6a501
chore(deps): update release-drafter/release-drafter action to v60b90367
chore(deps): update dependency gradle to v8.64075f70
chore(deps): update oracle-actions/setup-java action to v1.3.38de5beb
fix(deps): update junit5 monorepo to v5.10.26f741dd
fix(deps): update dependency checkstyle to v10.13.007e0535
fix(deps): update dependency com.github.spotbugs:com.github.spotbugs.gradle.p...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 show