This is an automated email from the ASF dual-hosted git repository.
showuon pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new ff58e90dfa7 KAFKA-19359: force bump commons-beanutils for
CVE-2025-48734 (#19939)
ff58e90dfa7 is described below
commit ff58e90dfa7d5f6f40dd7873b067bc1edbeeb0b8
Author: Luke Chen <[email protected]>
AuthorDate: Wed Jun 11 15:23:04 2025 +0800
KAFKA-19359: force bump commons-beanutils for CVE-2025-48734 (#19939)
Bump the commons-beanutils for CVE-2025-48734. Since `commons-validator`
hasn't had new release with newer `commons-beanutils` versions, we manually
bump it in kafka.
Reviewers: Mickael Maison <[email protected]>
---
LICENSE-binary | 4 ++--
build.gradle | 2 ++
gradle/dependencies.gradle | 2 ++
3 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/LICENSE-binary b/LICENSE-binary
index 1d311c0e28a..4514a3cee46 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -206,11 +206,11 @@ This project bundles some components that are also
licensed under the Apache
License Version 2.0:
- caffeine-3.2.0
-- commons-beanutils-1.9.4
+- commons-beanutils-1.11.0
- commons-collections-3.2.2
- commons-digester-2.1
- commons-lang3-3.12.0
-- commons-logging-1.3.2
+- commons-logging-1.3.5
- commons-validator-1.9.0
- hash4j-0.22.0
- jackson-annotations-2.19.0
diff --git a/build.gradle b/build.gradle
index b4e9cbb8011..767395ad32d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -193,6 +193,8 @@ allprojects {
// ensure we have a single version in the classpath despite
transitive dependencies
libs.scalaLibrary,
libs.scalaReflect,
+ // Workaround before `commons-validator` has new release. See
KAFKA-19359.
+ libs.commonsBeanutils,
libs.jacksonAnnotations
)
}
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index 2d70f6348ae..ba83624b0de 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -57,6 +57,7 @@ versions += [
caffeine: "3.2.0",
bndlib: "7.1.0",
checkstyle: project.hasProperty('checkstyleVersion') ? checkstyleVersion :
"10.20.2",
+ commonsBeanutils: "1.11.0",
commonsValidator: "1.9.0",
classgraph: "4.8.179",
gradle: "8.14.1",
@@ -147,6 +148,7 @@ libs += [
bndlib:"biz.aQute.bnd:biz.aQute.bndlib:$versions.bndlib",
caffeine: "com.github.ben-manes.caffeine:caffeine:$versions.caffeine",
classgraph: "io.github.classgraph:classgraph:$versions.classgraph",
+ commonsBeanutils:
"commons-beanutils:commons-beanutils:$versions.commonsBeanutils",
commonsValidator:
"commons-validator:commons-validator:$versions.commonsValidator",
jacksonAnnotations:
"com.fasterxml.jackson.core:jackson-annotations:$versions.jackson",
jacksonDatabind:
"com.fasterxml.jackson.core:jackson-databind:$versions.jackson",