This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 48e52a955a9b camel-aws2-kinesis: Declare Wire runtime pins as direct
dependencies
48e52a955a9b is described below
commit 48e52a955a9bde6ae8594dcd4977598f3364b5d0
Author: James Netherton <[email protected]>
AuthorDate: Wed Nov 25 10:56:24 2026 +0000
camel-aws2-kinesis: Declare Wire runtime pins as direct dependencies
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 417595df3abf..4e2d67167c3b 100644
--- a/components/camel-aws/camel-aws2-kinesis/pom.xml
+++ b/components/camel-aws/camel-aws2-kinesis/pom.xml
@@ -37,26 +37,6 @@
<camel.surefire.fork.additional-vmargs>"-javaagent:${net.bytebuddy:byte-buddy-agent:jar}"</camel.surefire.fork.additional-vmargs>
</properties>
- <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>
@@ -92,6 +72,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>