Bump the dependencies group across 1 directory with 26 updates #2452

Open
dependabot[bot] opened 10:40am on October 19, 2026 wants to merge 83 Δ into fraunhoferiosb/frost-server v2.6.x from
dependabot/maven/v2.6.x/dependencies-92d11634c1

Pull Request Overview

  • Opened on October 19, 2026
  • Status Open
  • Commit count 1 with first commit October 19, 2026

Total Delta

83 Total Diff Delta

Open Days

Open 17 weekdays

Test Delta

0 Diff Delta in Test Files
Breakdown by Phase

How long has this pull request spent in each phase of its lifecycle?

Data pending calculation for pull request

Author avatar

Bump the dependencies group across 1 directory with 26 updates

Bumps the dependencies group with 26 updates in the / directory:

Package
From
To

ch.qos.logback:logback-classic
1.6.3
1.6.5

com.fasterxml.jackson.core:jackson-core
2.22.2
2.22.3

com.fasterxml.jackson.dataformat:jackson-dataformat-xml
2.22.2
2.22.3

com.fasterxml.jackson.core:jackson-databind
2.22.2
2.22.3

com.fasterxml.jackson.dataformat:jackson-dataformat-xml
2.22.2
2.22.3

com.github.dasniko:testcontainers-keycloak
4.3.1
4.4.0

com.google.guava:guava
33.7.1-jre
33.7.2-jre

io.prometheus:prometheus-metrics-bom
1.8.0
1.9.0

org.apache.commons:commons-lang3
3.20.0
3.21.0

org.eclipse.jetty.ee10:jetty-ee10-servlet
12.1.12
12.1.14

org.jooq:jooq
3.21.7
3.21.9

org.jooq:jooq-codegen
3.21.7
3.21.9

org.jooq:jooq-meta
3.21.7
3.21.9

org.jooq:jooq-codegen
3.21.7
3.21.9

org.jooq:jooq-meta
3.21.7
3.21.9

org.postgresql:postgresql
42.7.13
42.7.14

org.slf4j:jul-to-slf4j
2.0.18
2.0.20

org.slf4j:slf4j-api
2.0.18
2.0.20

org.slf4j:slf4j-api
2.0.18
2.0.20

io.github.git-commit-id:git-commit-id-maven-plugin
10.0.0
10.0.1

org.apache.maven.plugins:maven-compiler-plugin
3.15.0
3.16.0

org.codehaus.mojo:build-helper-maven-plugin
3.6.1
3.6.2

org.codehaus.mojo:exec-maven-plugin
3.6.3
3.6.4

com.diffplug.spotless:spotless-maven-plugin
3.10.1
3.10.4

org.apache.maven.plugins:maven-surefire-plugin
3.5.6
3.6.0

org.sonatype.central:central-publishing-maven-plugin
0.11.0
0.12.0

org.bouncycastle:bcpkix-jdk18on
1.85
1.86

org.bouncycastle:bcprov-jdk18on
1.85
1.86

org.bouncycastle:bcutil-jdk18on
1.85
1.86

org.bouncycastle:bcprov-jdk18on
1.85
1.86

org.bouncycastle:bcutil-jdk18on
1.85
1.86

org.apache.maven:apache-maven
3.9.16
3.10.0

Updates ch.qos.logback:logback-classic from 1.6.3 to 1.6.5

Release notes

Sourced from ch.qos.logback:logback-classic's releases.



Logback 1.6.5


2026-09-30 Release of logback version 1.6.5


• Fixed a vulnerability CVE-2026-104721 closely related to CVE-2026-19880. The fix in version 1.6.3, which strips forward and backward slashes from MDC values, was insufficient. An MDC value could still contain relative path components such as .., variable references such as /, or characters that are special in file name patterns and email addresses. This latest vulnerability was found and reported by François Martin (GitHub: @​martinfrancois, https://github.com/martinfrancois).


MDCBasedDiscriminator, used by SiftingAppender, now rejects MDC values instead of stripping characters from them. An MDC value is rejected if it is empty, if it is longer than 64 characters, if it contains the sequence .., or if it contains any of the following characters: / \ $ { } | ? * + % , @. When an MDC value is rejected, the discriminator returns the value of its DefaultValue property. A warning is emitted for each rejected value. These warnings are rate-limited.


• When compression is enabled, TimeBasedRollingPolicy and SizeAndTimeBasedRollingPolicy now also remove old log files that were never compressed, for example because the application was not running at rollover time. Previously, such files were ignored by maxHistory and accumulated indefinitely. This issue was discussed in discussions/1032. See TimeBasedRollingPolicy.


• SimpleInvocationGate, deprecated in version 1.6.3, is now marked for removal. Use FixedIntervalInvocationGate instead.


• A bit-wise identical binary of this version can be reproduced by building from source code at commit d1b829dcdb9fd98511c64401beb1419a9c9384aa associated with the tag v_1.6.5. The release was built using Java "21" 2023-10-17 LTS build 21.0.1.+12-LTS-29 under Linux Debian 11.6.


Logback 1.6.4


2026-09-24 Release of logback version 1.6.4


• Variable substitution is again applied to the scan attribute of the <configuration> element. The scanning refactoring in version 1.5.27 had dropped substitution, so values such as ${logback.scan.enabled:-true} were no longer resolved. As before version 1.5.27, an unrecognized non-empty value turns scanning on. The same substitution now applies to the scan attribute of <propertiesConfigurator>. This regression was reported in issues/1065 by vaibhavjain2.


• OutputStreamAppender and FileAppender now handle stateful encoders. The Encoder interface has a new default method called isStateful(), which returns false. An encoder that keeps state between calls to encode() can return true. For such encoders, the appender holds its write lock while encoding and while writing, so the output of concurrent appends cannot interleave. Stateless encoders still encode outside the lock, so their performance does not change. Existing encoders need no changes.


• Several race conditions in OutputStreamAppender and FileAppender were fixed. The appender is now marked started and the encoder header is written while the same lock is held, so a concurrent append can no longer write an event before the header. After acquiring the lock, the appender checks again whether it has been stopped, so no event is written after the footer. In prudent mode, FileAppender now encodes and writes each event while holding the lock.


• Fixed a data race on the logger count in LoggerContext. Loggers are created under the lock of their parent logger, so loggers with different parents could be created at the same time and increments of the shared counter could be lost. As a result, LoggerContext.size() could return a value lower than the actual number of loggers. The counter is now an AtomicInteger. This issue was reported in issues/1038 by hcantunc. The fix was contributed in PR #1055 by seonwoo_jung.


• TimeBasedRollingPolicy now supports half-day periods. Date patterns with the AM/PM marker, for example %d{yyyy-MM-dd-a}, used to be detected as daily and rolled over only at midnight. They now roll over at both 00:00 and 12:00. This issue was reported in issues/976 by shakthifuture. The fix was contributed in PR #1051 by seonwoo_jung. See TimeBasedRollingPolicy.


• If org.jline.jansi.AnsiConsole cannot be found on the class path, JansiConsoleAppender now emits warnings that explain how to add org.jline:jansi-core and then writes to the plain console stream. See codes.html#missingJlineJansi.


• The unused ch.qos.logback.classic.util.LogbackMDCAdapterSimple class was removed. LogbackMDCAdapter remains the default MDC adapter.


• A bit-wise identical binary of this version can be reproduced by building from source code at commit 07d291ca0d280bc5da934ec9ff5f1da634fd7937 associated with the tag v_1.6.4. The release was built using Java "21" 2023-10-17 LTS build 21.0.1.+12-LTS-29 under Linux Debian 11.6.


Full Changelog: https://github.com/qos-ch/logback/compare/v_1.6.3...v_1.6.4


Commits



  • d1b829d prepare release 1.6.5


  • 065b9b2 enhance protectin against mischievious MDC values in MDCBasedDiscriminator


  • b69beab complete commit in relation to discussion_1032


  • 7266c0b fix intermittently failing SocketAppenderMessageLossTest rest condition


  • a633bb0 fix intermittently failing SocketAppenderMessageLossTest rest condition


  • 2bc5bcc renamed tbrp and eclosingTBRP, other minor changes


  • 2cd8762 fix typo in AGENTS.md


  • 647846c fix errors when running tests under intellij IDEA


  • 1048917 removed ConsoleCharsetPropertyDefiner.java


  • 39b5002 added 'since' and 'forRemoval' attributes to SimpleInvocationGate @​Deprecatio...

  • Additional commits viewable in compare view


Updates com.fasterxml.jackson.core:jackson-core from 2.22.2 to 2.22.3

Commits



  • eee4b9e [maven-release-plugin] prepare release jackson-core-2.22.3


  • 31ee7eb Prep for 2.22.3 release


  • 9fef13f Merge branch '2.21' into 2.22


  • 9160f40 Post-release dep version bump


  • 1169cb6 [maven-release-plugin] prepare for next development iteration


  • b33f455 [maven-release-plugin] prepare release jackson-core-2.21.7


  • ce8b7dc Prep for 2.21.7 release


  • b69555e Merge branch '2.21' into 2.22


  • 53df608 Merge branch '2.20' into 2.21


  • 892f757 Merge branch '2.19' into 2.20

  • Additional commits viewable in compare view


Updates com.fasterxml.jackson.dataformat:jackson-dataformat-xml from 2.22.2 to 2.22.3

Commits



  • 6a183d0 [maven-release-plugin] prepare release jackson-dataformat-xml-2.22.3


  • 45290b7 Prep for 2.22.3 release


  • 0e9bd25 Merge branch '2.21' into 2.22


  • 4dc38df Post-release dep version bump


  • bac5610 [maven-release-plugin] prepare for next development iteration


  • a7cfc97 [maven-release-plugin] prepare release jackson-dataformat-xml-2.21.7


  • bf55a64 Prep for 2.21.7 release


  • d515706 Merge branch '2.21' into 2.22


  • 7a536e5 Merge branch '2.20' into 2.21


  • 79037dd Merge branch '2.19' into 2.20

  • Additional commits viewable in compare view


Updates com.fasterxml.jackson.core:jackson-databind from 2.22.2 to 2.22.3

Commits



  • 4385c5f [maven-release-plugin] prepare release jackson-databind-2.22.3


  • ccb4fd0 Prep for 2.22.3 release


  • 2958412 Merge branch '2.21' into 2.22


  • 1215b94 Post-release dep version bump


  • 1f0df62 [maven-release-plugin] prepare for next development iteration


  • 13a9ff4 [maven-release-plugin] prepare release jackson-databind-2.21.7


  • d168f96 Prep for 2.21.7 release


  • eaf5c76 Merge branch '2.21' into 2.22


  • e05ef4c Merge branch '2.20' into 2.21


  • f6d4000 Merge branch '2.19' into 2.20

  • Additional commits viewable in compare view


Updates com.fasterxml.jackson.dataformat:jackson-dataformat-xml from 2.22.2 to 2.22.3

Commits



  • 6a183d0 [maven-release-plugin] prepare release jackson-dataformat-xml-2.22.3


  • 45290b7 Prep for 2.22.3 release


  • 0e9bd25 Merge branch '2.21' into 2.22


  • 4dc38df Post-release dep version bump


  • bac5610 [maven-release-plugin] prepare for next development iteration


  • a7cfc97 [maven-release-plugin] prepare release jackson-dataformat-xml-2.21.7


  • bf55a64 Prep for 2.21.7 release


  • d515706 Merge branch '2.21' into 2.22


  • 7a536e5 Merge branch '2.20' into 2.21


  • 79037dd Merge branch '2.19' into 2.20

  • Additional commits viewable in compare view


Updates com.github.dasniko:testcontainers-keycloak from 4.3.1 to 4.4.0

Release notes

Sourced from com.github.dasniko:testcontainers-keycloak's releases.



v4.4.0


What's Changed



Full Changelog: https://github.com/dasniko/testcontainers-keycloak/compare/v4.3.1...v4.4.0


Commits



  • ca9ed73 Update Keycloak version to 26.8 in README and versions documentation


  • 68405b9 prepare for 4.4 release by updating keycloak dependencies and version


  • 006b005 chore(deps): bump org.slf4j:slf4j-api from 2.0.19 to 2.0.20 (#330)


  • 26474e0 chore(deps-dev): bump ch.qos.logback:logback-classic from 1.6.3 to 1.6.4 (#331)


  • 83fedcb chore(deps-dev): bump com.fasterxml.jackson.core:jackson-databind (#329)


  • e5e4f27 chore(deps): bump org.slf4j:slf4j-api from 2.0.18 to 2.0.19 (#328)


  • c97838d chore(deps): bump org.projectlombok:lombok from 1.18.46 to 1.18.48 (#327)


  • 6cfdd65 chore(deps-dev): bump ch.qos.logback:logback-classic (#323)


  • f2b4568 chore(deps-dev): bump jackson.version from 2.22.1 to 2.22.2 (#321)


  • e61e60d chore(deps-dev): bump junit-jupiter.version from 6.1.2 to 6.1.3 (#320)

  • Additional commits viewable in compare view


Updates com.google.guava:guava from 33.7.1-jre to 33.7.2-jre

Release notes

Sourced from com.google.guava:guava's releases.



33.7.2


Maven


<dependency>

<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.7.2-jre</version>
<!-- or, for Android: -->
<version>33.7.2-android</version>
</dependency>

Jar files



Guava requires one runtime dependency, which you can download here:



Javadoc



JDiff



Changelog



Commits


Updates io.prometheus:prometheus-metrics-bom from 1.8.0 to 1.9.0

Release notes

Sourced from io.prometheus:prometheus-metrics-bom's releases.



v1.9.0



1.9.0 (2026-09-16)


Features



  • support metric name filtering in OpenTelemetry exporter (#2344) (9b0ede8)


Bug Fixes



  • avoid protobuf debug reflection in native images (#2251) (7f899e7)

  • bound HTTPServer request resources (#2333) (33ec556)

  • bound observation buffering during collection (#2336) (43788f5)

  • bound scrape query parameters (#2334) (27e1912)


  • ci: skip benchmark report for skipped runs (#2422) (40eddb0)

  • clarify benchmark regression report verdicts (#2394) (e5fa067)


  • deps: update dependency com.google.guava:guava to v33.7.0-jre (#2387) (bf0db49)


  • deps: update dependency io.dropwizard.metrics:metrics-core to v4.2.40 (#2432) (dd88326)


  • deps: update dependency io.dropwizard.metrics5:metrics-core to v5.0.8 (#2433) (42f3c8a)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.29.0-alpha (#2235) (cf9f702)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.30.0-alpha (#2328) (1ca2716)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.30.0-alpha (#2330) (07623c1)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.31.0-alpha (#2401) (6c26619)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.31.0-alpha (#2402) (ac0d68a)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.31.1-alpha (#2409) (5eea652)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.31.1-alpha (#2410) (0bcef89)


  • deps: update dependency org.apache.tomcat.embed:tomcat-embed-core to v11.0.23 (#2241) (a017f80)


  • deps: update dependency org.apache.tomcat.embed:tomcat-embed-core to v11.0.24 (#2294) (63967bd)


  • deps: update dependency org.apache.tomcat.embed:tomcat-embed-core to v11.0.25 (#2389) (92f8344)


  • deps: update dependency org.apache.tomcat.embed:tomcat-embed-core to v11.0.26 (#2477) (05146c0)


  • deps: update dependency org.springframework.boot:spring-boot-starter-parent to v4.1.1 (#2399) (a0b0880)


  • deps: update jetty monorepo to v12.1.11 (#2279) (4dc54da)


  • deps: update jetty monorepo to v12.1.12 (#2371) (08967e0)


  • deps: update jetty monorepo to v12.1.13 (#2459) (b217f05)


  • deps: update junit-framework monorepo to v6.1.2 (#2300) (5966d1d)


  • deps: update junit-framework monorepo to v6.1.3 (#2374) (d1ade52)


  • deps: update otel.instrumentation.version (#2236) (158230d)


  • deps: update protobuf (#2400) (e2db1ed)


  • deps: update protobuf (#2438) (8ad6fa8)


  • deps: update protobuf to v4.35.1 (#2221) (cf17073)

  • disable micrometer compat build cache (#2457) (6a40eda)

  • drop +Inf bound from OpenTelemetry classic histogram boundaries (#2458) (a3bce9a)


  • exposition: export internal package for OSGi resolution (#2415) (28b503d)


  • httpserver: make scrape error responses secure and configurable (f6d9df5)

  • include counter names in negative value errors (#2315) (ea8f935)

  • include license files in release source jars (#2250) (08cf925), closes #2216

  • keep late observations out of subsequent collection buffers (#2471) (d78b149)

  • keep PR title check required after rebases (#2414) (e3d4c3b)

  • prevent buffer stripe index overflow (#2331) (b6cd000)


<!-- raw HTML omitted -->

... (truncated)

Changelog

Sourced from io.prometheus:prometheus-metrics-bom's changelog.




1.9.0 (2026-09-16)


Features



  • support metric name filtering in OpenTelemetry exporter (#2344) (9b0ede8)


Bug Fixes



  • avoid protobuf debug reflection in native images (#2251) (7f899e7)

  • bound HTTPServer request resources (#2333) (33ec556)

  • bound observation buffering during collection (#2336) (43788f5)

  • bound scrape query parameters (#2334) (27e1912)


  • ci: skip benchmark report for skipped runs (#2422) (40eddb0)

  • clarify benchmark regression report verdicts (#2394) (e5fa067)


  • deps: update dependency com.google.guava:guava to v33.7.0-jre (#2387) (bf0db49)


  • deps: update dependency io.dropwizard.metrics:metrics-core to v4.2.40 (#2432) (dd88326)


  • deps: update dependency io.dropwizard.metrics5:metrics-core to v5.0.8 (#2433) (42f3c8a)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.29.0-alpha (#2235) (cf9f702)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.30.0-alpha (#2328) (1ca2716)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.30.0-alpha (#2330) (07623c1)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.31.0-alpha (#2401) (6c26619)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.31.0-alpha (#2402) (ac0d68a)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.31.1-alpha (#2409) (5eea652)


  • deps: update dependency io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha to v2.31.1-alpha (#2410) (0bcef89)


  • deps: update dependency org.apache.tomcat.embed:tomcat-embed-core to v11.0.23 (#2241) (a017f80)


  • deps: update dependency org.apache.tomcat.embed:tomcat-embed-core to v11.0.24 (#2294) (63967bd)


  • deps: update dependency org.apache.tomcat.embed:tomcat-embed-core to v11.0.25 (#2389) (92f8344)


  • deps: update dependency org.apache.tomcat.embed:tomcat-embed-core to v11.0.26 (#2477) (05146c0)


  • deps: update dependency org.springframework.boot:spring-boot-starter-parent to v4.1.1 (#2399) (a0b0880)


  • deps: update jetty monorepo to v12.1.11 (#2279) (4dc54da)


  • deps: update jetty monorepo to v12.1.12 (#2371) (08967e0)


  • deps: update jetty monorepo to v12.1.13 (#2459) (b217f05)


  • deps: update junit-framework monorepo to v6.1.2 (#2300) (5966d1d)


  • deps: update junit-framework monorepo to v6.1.3 (#2374) (d1ade52)


  • deps: update otel.instrumentation.version (#2236) (158230d)


  • deps: update protobuf (#2400) (e2db1ed)


  • deps: update protobuf (#2438) (8ad6fa8)


  • deps: update protobuf to v4.35.1 (#2221) (cf17073)

  • disable micrometer compat build cache (#2457) (6a40eda)

  • drop +Inf bound from OpenTelemetry classic histogram boundaries (#2458) (a3bce9a)


  • exposition: export internal package for OSGi resolution (#2415) (28b503d)


  • httpserver: make scrape error responses secure and configurable (f6d9df5)

  • include counter names in negative value errors (#2315) (ea8f935)

  • include license files in release source jars (#2250) (08cf925), closes #2216

  • keep late observations out of subsequent collection buffers (#2471) (d78b149)

  • keep PR title check required after rebases (#2414) (e3d4c3b)

  • prevent buffer stripe index overflow (#2331) (b6cd000)

  • redact invalid configuration values (#2335) (7e7e533)


<!-- raw HTML omitted -->

... (truncated)

Commits



  • 71e821c chore(main): release 1.9.0 (#2237)


  • d78b149 fix: keep late observations out of subsequent collection buffers (#2471)


  • 085263b perf: avoid allocating a mapping lambda on every labelValues() call (#2442)


  • 9ec38b7 chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.161...


  • 05146c0 fix(deps): update dependency org.apache.tomcat.embed:tomcat-embed-core to v11...


  • 59ca1f0 test: focus PR benchmarks on client_java and measure label lookups (#2468)


  • 398d087 fix: show uncertainty in benchmark comparisons (#2476)


  • 8722230 perf: skip snapshot rebuild in mergeDuplicates when names are unique (#2441)


  • ea8f935 fix: include counter names in negative value errors (#2315)


  • fba2007 test: verify buffer recovery after snapshot failures (#2446)

  • Additional commits viewable in compare view


Updates org.apache.commons:commons-lang3 from 3.20.0 to 3.21.0

Updates org.eclipse.jetty.ee10:jetty-ee10-servlet from 12.1.12 to 12.1.14

Updates org.jooq:jooq from 3.21.7 to 3.21.9

Updates org.jooq:jooq-codegen from 3.21.7 to 3.21.9

Updates org.jooq:jooq-meta from 3.21.7 to 3.21.9

Updates org.jooq:jooq-codegen from 3.21.7 to 3.21.9

Updates org.jooq:jooq-meta from 3.21.7 to 3.21.9

Updates org.postgresql:postgresql from 42.7.13 to 42.7.14

Release notes

Sourced from org.postgresql:postgresql's releases.



v42.7.14


Security


This release fixes two security vulnerabilities.



requireAuth is silently not enforced when the value excludes every authentication method (GHSA-rhp9-mr79-r74h, CVE-2026-107314)


Severity: Moderate (CVSS 5.9) | Affected versions: 42.7.11 – 42.7.13


If the requireAuth connection property excluded all six authentication methods the driver knows (for example requireAuth=!password,!md5,!gss,!sspi,!scram-sha-256,!none) or contained no method at all (for example requireAuth=,), the driver applied no restriction and accepted whatever method the server asked for, including cleartext password. An attacker positioned between the application and the server could use this to request cleartext password authentication and receive the database password.


Unset values, positive lists (such as requireAuth=scram-sha-256) and partial exclusions (such as requireAuth=!password,!md5) were not affected, and neither were deployments that do not set requireAuth.


Behavior after upgrading:



  • A value that excludes every method now refuses the connection with SQLState 08004 and the message Authentication method is not allowed by requireAuth (or the channel binding error when channelBinding=require is also set).

  • A value that names no method is rejected as an invalid requireAuth value.


Because affected deployments had this value by mistake, and connections worked normally on affected versions, connections with such a value will fail after upgrading. Replace it with a positive list of the methods your server uses, for example requireAuth=scram-sha-256.


Independently of this fix, use sslmode=verify-full with a trusted CA so that an attacker cannot present a substitute server.


Thanks to @​manus-pi for finding and reporting this issue.


Driver stores bytes of earlier statements when it pads a value shorter than its declared length (GHSA-f64h-wr5q-3qf3, CVE-2026-107315)


Severity: Moderate (CVSS 5.3) | Affected versions: 42.7.4 – 42.7.13


When an application sent a value shorter than the length it declared, the driver padded the missing bytes with data from earlier messages on the same connection instead of zeros, and the server stored them. The stored value could contain SQL text and parameter values of earlier, unrelated statements (up to 8192 bytes, or 16320 with GSS encryption). On pooled connections, those statements could come from other requests. 42.7.3 and earlier padded with zeros.


This is reachable through the following public API when the declared length is larger than the data:



  • PreparedStatement.setObject(int, ByteStreamWriter)


  • CopyIn.writeToCopy(ByteStreamWriter) and CopyIn.writeToCopy(byte[], int, int)


  • PGCopyOutputStream.write(byte[], int, int) (writes over 64 KiB)

  • LargeObject.write(byte[], int, int)

  • java.sql.Blob.setBytes(long, byte[], int, int)


Padding is now always zeros. Applications whose declared length always matches the data were not affected. Values stored by an affected version through such a call may already contain leaked data, so you may want to review affected columns. There is no connection property to disable the old behavior; the workaround on older versions is to make the declared length match the data.


Thanks to @​vlsi for finding and reporting this issue.


Full Changelog: https://github.com/pgjdbc/pgjdbc/compare/REL42.7.13...REL42.7.14


Changelog

Sourced from org.postgresql:postgresql's changelog.



Changelog


Notable changes since version 42.0.0, read the complete History of Changes.


The format is based on Keep a Changelog.


[Unreleased]


Fixed



  • fix: PGStream.skip no longer loops forever when the connection ends while the driver is discarding bytes, and no longer mistakes a stream that skips nothing for one that has ended. InputStream.skip may return zero with more data still coming, which a stream supplied through the socketFactory property is free to do; the driver now reads a byte in that case and treats only -1 as the end [PR #4358](pgjdbc/pgjdbc#4358)

  • fix: LargeObjectManager operations now work inside an active XA transaction. Since 42.7.13 an XA branch keeps the caller's autoCommit=true, and the guard rejected large objects as if the connection were idle. It now checks the server transaction state (getTransactionState()) instead of autoCommit, so a genuine auto-commit connection with no open transaction is still refused [Issue #4309](pgjdbc/pgjdbc#4309) [PR #4310](pgjdbc/pgjdbc#4310)

  • fix: batch update counts are no longer secured as committed inside an XA transaction. BatchResultHandler treated per-statement progress as durable whenever autoCommit=true, but an XA branch keeps autoCommit=true while the transaction is open, so a batch that flushed mid-way and then failed could report rolled-back statements as succeeded. Progress is now secured only when no server transaction is open [Issue #4309](pgjdbc/pgjdbc#4309) [PR #4311](pgjdbc/pgjdbc#4311)


Changed



  • fix: backend message lengths are checked before anything is sized from them. Each length is checked against the message layout and a limit for its type, the lengths inside DataRow and FunctionCallResponse are checked against the message, and the NegotiateProtocolVersion option count is bounded. A hostile or out of sync backend could previously force an allocation of up to two gigabytes with a five byte header [Issue #4015](pgjdbc/pgjdbc#4015)

  • fix: the read buffer is limited to 32 MiB and gr...


Description has been truncated

No comments have been left on this PR.