This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-4.22.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.22.x by this push:
new 2cfeaf51cb0c [backport camel-4.22.x] camel-aws2-kinesis: Declare Wire
runtime pins as direct dependencies (#30781)
2cfeaf51cb0c is described below
commit 2cfeaf51cb0c854850e71a19c0d4cacc38c153f9
Author: Guillaume Nodet <[email protected]>
AuthorDate: Fri Nov 27 15:54:52 2026 +0100
[backport camel-4.22.x] camel-aws2-kinesis: Declare Wire runtime pins as
direct dependencies (#30781)
The CVE-2026-45799 remediation pinned com.squareup.wire:wire-runtime and
wire-runtime-jvm to ${squareup-wire-version} in the component's
dependencyManagement. Maven does not apply a dependency's
dependencyManagement to its consumers, so applications depending on
camel-aws2-kinesis still resolved Wire 5.2.0 through
software.amazon.glue:schema-registry-serde.
Declaring both artifacts as direct dependencies makes them the nearest
declaration for Maven consumers (and the highest version for Gradle), so
the override now reaches applications. wire-schema, wire-compiler and the
code generators remain at 5.2.0 as before.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
components/camel-aws/camel-aws2-kinesis/pom.xml | 37 ++++++++++++-------------
1 file changed, 17 insertions(+), 20 deletions(-)
diff --git a/components/camel-aws/camel-aws2-kinesis/pom.xml
b/components/camel-aws/camel-aws2-kinesis/pom.xml
index 6c9de206208e..074dbd028e38 100644
--- a/components/camel-aws/camel-aws2-kinesis/pom.xml
+++ b/components/camel-aws/camel-aws2-kinesis/pom.xml
@@ -32,26 +32,6 @@
<name>Camel :: AWS2 Kinesis</name>
<description>Consuming and Producing data to AWS Kinesis
Service</description>
- <dependencyManagement>
- <dependencies>
- <!-- Pin com.squareup.wire:wire-runtime transitively brought in by
amazon-kinesis-client
- via software.amazon.glue:schema-registry-serde (still on Wire
5.2.0, no release with
- the fix) to remediate CVE-2026-45799. wire-runtime is an
empty Kotlin-Multiplatform
- stub and wire-runtime-jvm carries the fix; both are pinned
because the advisory lists
- both coordinates. -->
- <dependency>
- <groupId>com.squareup.wire</groupId>
- <artifactId>wire-runtime</artifactId>
- <version>${squareup-wire-version}</version>
- </dependency>
- <dependency>
- <groupId>com.squareup.wire</groupId>
- <artifactId>wire-runtime-jvm</artifactId>
- <version>${squareup-wire-version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
<dependencies>
<dependency>
<groupId>org.apache.camel</groupId>
@@ -87,6 +67,23 @@
<artifactId>lz4-java</artifactId>
<version>${lz4-java-version}</version>
</dependency>
+ <!-- Override com.squareup.wire:wire-runtime brought in transitively
by amazon-kinesis-client
+ via software.amazon.glue:schema-registry-serde (still on Wire
5.2.0) to remediate
+ CVE-2026-45799. Declared as direct dependencies rather than in
dependencyManagement so
+ that the override also applies to applications depending on this
component.
+ wire-runtime is an empty Kotlin-Multiplatform stub and
wire-runtime-jvm carries the fix;
+ both are declared because the advisory lists both coordinates.
Remove once
+ schema-registry-serde depends on a fixed Wire release. -->
+ <dependency>
+ <groupId>com.squareup.wire</groupId>
+ <artifactId>wire-runtime</artifactId>
+ <version>${squareup-wire-version}</version>
+ </dependency>
+ <dependency>
+ <groupId>com.squareup.wire</groupId>
+ <artifactId>wire-runtime-jvm</artifactId>
+ <version>${squareup-wire-version}</version>
+ </dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>netty-nio-client</artifactId>