CC-41520: bump commons-configuration2 to 2.15.0 (CVE-2026-45205)#947
Open
Sahil Sonawane (saheeeel) wants to merge 1 commit into
Open
CC-41520: bump commons-configuration2 to 2.15.0 (CVE-2026-45205)#947Sahil Sonawane (saheeeel) wants to merge 1 commit into
Sahil Sonawane (saheeeel) wants to merge 1 commit into
Conversation
|
🎉 All Contributor License Agreements have been signed. Ready to merge. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Problem
CC-41520flagsorg.apache.commons:commons-configuration2:2.10.1— CVE-2026-45205 (MEDIUM): Apache Commons Configuration uncontrolled recursion →StackOverflowErroron cyclic YAML input (affects 2.2 before 2.15.0), fixed in2.15.0. Impactedkafka-connect-s3versions: 10.6.15–10.6.17, 11.0.13–11.0.16, 12.1.5–12.1.8.commons-configuration2is pulled transitively via the Hadoop stack, and its version is forced by this repo's root pom<dependencyManagement>(hardcoded2.10.1) — so a single managed bump remediates the packagedkafka-connect-s3artifact.Solution
Bump the managed
commons-configuration2version2.10.1 → 2.15.0in the root pom<dependencyManagement>. 2.15.0 is the fixed version per the advisory and is a backward-compatible upgrade on the 2.x line.Does this solution apply anywhere else?
If yes, where?
Forward-merges from
10.6.xto11.0.x/12.0.x/12.1.x(and up) via pint.Test Strategy
commons-configuration2:2.15.0(compile) inkafka-connect-s3.lib/bundledcommons-configuration2-2.10.1.jar→CVE-2026-45205flagged.lib/bundlescommons-configuration2-2.15.0.jar;CVE-2026-45205no longer reported (only an unrelated MEDIUM remains).S3SinkConnectorFaultyS3Test.testErrorIsRetriedByConnectFramework— a timing-sensitive fault-injection/retry test (60s timeout, ~70 repeats: "Files not written to S3 bucket in time") that flaked under local build load. It is unrelated to the commons-configuration2 bump (a Hadoop config-parsing library with no path to S3 write-retry timing); CI runs it in a clean environment.s3-sink.shKDP require live AWS credentials + an S3 bucket — run in CI.commons-configuration2is a transitive, backward-compatible patch (Hadoop config parsing), so no connector code path changes.Testing done:
Release Plan
Merge to
10.6.x; pint forward-merges to11.0.x/12.x. Cut newkafka-connect-s3releases. Build-only change (one managed version) — safe to roll back.Validation update — CI, KDP, dependency tree (2026-07-22)
CI (Semaphore) — ✅ PASS (after re-run: pipeline
a24973fe).java.util.ConcurrentModificationExceptionwhile collectingio.confluent:kafka-connect-protobuf-converter:[7.7.8-0,7.7.9-0)in thekafka-connect-s3child module. This is unrelated to the commons-configuration2 bump (the parent module built SUCCESS; no test ran). Re-triggering the workflow produced a clean green build.0524cb8c) — KDP ran on this PR commit37e05bawith the commons-configuration2 bump included (it passed even on the initial pipeline, since it runs independently of the unit-Test block).Dependency tree (after — resolved graph):
Resolved to commons-configuration2 → 2.15.0 (CC-41520 / CVE-2026-45205) across the
kafka-connect-s3modules.